{"id":10268,"date":"2019-10-06T12:06:55","date_gmt":"2019-10-06T03:06:55","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=10268"},"modified":"2019-10-06T12:06:55","modified_gmt":"2019-10-06T03:06:55","slug":"windows-7-%e3%81%a7-scratch-%e3%81%8b%e3%82%89-microbit-%e3%82%92%e6%89%b1%e3%81%88%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.moonmile.net\/blog\/archives\/10268","title":{"rendered":"Windows 7 \u3067 Scratch \u304b\u3089 micro:bit \u3092\u6271\u3048\u308b\u3088\u3046\u306b\u3059\u308b"},"content":{"rendered":"<p>\u5b66\u7ae5\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3067\u3001Minecraft on Scratch \u304b\u3089\u5b50\u4f9b\u306e\u8208\u5473\u3092\u5f15\u304d\u306f\u304c\u3059\u3079\u304f\u3001micro:bit \u3092 5\u500b\uff08\u5897\u7a0e\u524d\u3001\u6d88\u8cbb\u7a0e8%\u306e\u99c6\u3051\u8fbc\u307f\uff09\u8cfc\u5165\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/10\/images20191006_02org-5.jpg\"><img decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/10\/images20191006_02thum-5.jpg\"><\/a><\/p>\n<p>\u5b9f\u306f\u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9\u3055\u3093\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u30ec\u30b9\u9084\u5143\u306b\u5bfe\u5fdc\u3057\u305f\u305d\u3046\u306a\u306e\u3067\u300110\/1 \u4ee5\u964d\u306b\u8cfc\u5165\u3057\u305f\u307b\u3046\u304c\u304a\u5f97\u3060\u3063\u305f\u308f\u3051\u3067\u3059\u304c\u3002\u307e\u3042\u3001\u3044\u3044\u3084\u3001\u52e2\u3044\u3067\u9001\u6599\u7121\u6599\u306b\u306a\u308b1\u4e07\u5186\u307e\u3067\u5927\u4eba\u8cb7\u3044\u3067\u3059\u3002<\/p>\n<p>\u203b\u3042\u3042\u3001\u7d50\u679c\u3060\u3051\u6b32\u3057\u3044\u65b9\u306f\u3001\u4e00\u756a\u6700\u5f8c\u306b\u30b8\u30e3\u30f3\u30d7\u3059\u308b\u3068\u3044\u3044\u3067\u3059.<\/p>\n<h2 id=\"%E5%AD%A6%E7%AB%A5%E3%81%A7%E5%AD%90%E3%81%A9%E3%82%82%E3%81%AB%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B\">\u5b66\u7ae5\u3067\u5b50\u3069\u3082\u306b\u8a66\u3057\u3066\u307f\u308b<\/h2>\n<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3092\u3084\u3063\u3066\u3044\u308b\u5b66\u7ae5\u306b\u5148\u306b\u8acb\u6c42\u3057\u3066\u3082\u3088\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u3053\u306f\u5b9f\u9a13\u3082\u517c\u306d\u3066\u81ea\u8179\u3067\u8cfc\u5165\u3002\u3046\u307e\u304f\u3044\u3051\u3070\u5f8c\u3067\u3001\u6b32\u3057\u3044\u5b50\u306b\u306f2,000\u5186\u4e5f\u3067\u8cfc\u5165\u3057\u3066\u3082\u3089\u3046\u304b\u3001\u5b66\u7ae5\u306b\u8acb\u6c42\u3092\u4e0a\u3052\u308b\u304b\u3068\u3044\u3046\u3068\u3053\u308d\u306a\u306e\u3067\u3059\u304c\u3002<\/p>\n<p>\u3042\u3048\u306a\u304f\u300c\u7389\u7815\u300d\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u6570\u3042\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u306e\u4e2d\u3067\u3001\u79c1\u304c\u884c\u3063\u3066\u3044\u308b\u3068\u3053\u308d\u306f\u3001<\/p>\n<ul>\n<li>\u5c0f\u5b663-6\u5e74\u751f\u304c10\u4eba\u3061\u3087\u3044\u96d1\u591a\u306b\u96c6\u307e\u3063\u3066\u3044\u308b\u611f\u3058\u3002<\/li>\n<li>\u4e88\u7b97\u306e\u95a2\u4fc2\u4e0a\u3001\u4e2d\u53e4 \u30ce\u30fc\u30c8 PC \u306e Windows 7 \u3092\u4f7f\u3063\u3066\u3044\u308b\u3002<\/li>\n<li>\u5834\u6240\u304c\u5171\u6709\u30b9\u30da\u30fc\u30b9\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 PC \u306f\u7f6e\u3051\u306a\u3044\u3002<\/li>\n<li>\u6709\u7dda LAN \u304c\u4f7f\u3048\u305a\u3001\u7121\u7dda LAN\uff08\u79c1\u7269\u306e Pocket WiFi\uff09\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002<\/li>\n<li>\u30ce\u30fc\u30c8 PC \u306b Bluetooth \u304c\u4ed8\u968f\u3057\u3066\u3044\u306a\u3044\u3082\u306e\u304c\u591a\u3044\u3002<\/li>\n<li>\u4e2d\u53e4\u306e\u30ce\u30fc\u30c8PC\u306a\u306e\u3067\u3001USB \u304c 1\u500b\u3057\u304b\u751f\u304d\u3066\u3044\u306a\u3044\u3082\u306e\u304c\u591a\u304f\u3066\u3001USB \u30b1\u30fc\u30d6\u30eb\u306e\u30de\u30a6\u30b9\u3068\u4ed8\u3051\u66ff\u3048\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/li>\n<li>\u305d\u3082\u305d\u3082\u3001micro:bit(mbed) \u3078\u306e HEX \u30d5\u30a1\u30a4\u30eb\u306e\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u304c\u5b50\u4f9b\u306b\u306f\u96e3\u3057\u3044\u3002<\/li>\n<\/ul>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u306f\u30013\u5e74\u524d\u304b\u3089\u59cb\u3081\u305f\u306e\u3067\u3059\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u6559\u3048\u308b&#8230;\u3063\u3066\u306e\u306f\u96d1\u591a\u306a\u74b0\u5883\u3067\u306f\u96e3\u3057\u304b\u3063\u305f\u306e\u3067\u3001\u300cScratch \u3067\u904a\u3076\u300d\u306b\u30b7\u30d5\u30c8\u3057\u307e\u3057\u305f\u3002\u3044\u306f\u3001Scratch \u3067\u4f5c\u3089\u308c\u3066\u3044\u308b\u30b2\u30fc\u30e0\u306a\u3089\u3070\u3001\u306a\u3093\u3067\u3082 ok \u3063\u3066\u3053\u3068\u3067\u3001\u30d5\u30a1\u30df\u30b9\u30bf\u3082\u3069\u304d\u3068\u304b\u9752\u9b3c\u3082\u3069\u304d\u3068\u304b\u3001\u3044\u308d\u3044\u308d\u6d41\u884c\u308a\u304c\u3042\u3063\u3066\u3001\u4eca\u306f\u30de\u30a4\u30f3\u30af\u30e9\u30d5\u30c8\u3082\u3069\u304d\u306a\u306e\u3067\u3059\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001\u30b2\u30fc\u30e0\u3070\u304b\u308a\u3084\u3063\u3066\u3044\u308b\u5b50\u3070\u304b\u308a\u3067\u306f\u306a\u304f\u3066\u3001Scratch \u3067\u30b2\u30fc\u30e0\u3092\u81ea\u4f5c\u3057\u3066\u3044\u308b\u5b50\u3082\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30b2\u30fc\u30e0\u3092\u81ea\u4f5c\u3057\u3066\u3044\u308b\u5b50\u306b\u306f\u3001\u9069\u5b9c\u8cea\u554f\u306b\u7b54\u3048\u308b\uff06\u9069\u5b9c\u624b\u4f1d\u3046\u3002<\/li>\n<li>\u30b2\u30fc\u30e0\u3092\u3057\u3066\u3044\u308b\u5b50\u306f\u3001\u653b\u7565\u6cd5\u306f\u53cb\u9054\u540c\u58eb\u3067\u8a71\u3057\u5408\u3063\u3066\u306d<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u30eb\u30fc\u30eb\u3067\u3084\u3063\u3066\u3044\u307e\u3059\u3002\u5b66\u7ae5\u306e\u76ee\u7684\u3068\u3057\u3066\u300c\u5b89\u5168\u306b\u5b50\u4f9b\u3092\u9810\u304b\u308b\u300d\u304c\u6709\u7dda\u306a\u306e\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u81ea\u4f53\u3092\u6559\u3048\u308b\u3063\u3066\u306e\u306f\u4e8c\u306e\u6b21\u306a\u306e\u3067\u3059\u3002\u3068\u306f\u3044\u3048\u3001\u6f20\u7136\u3068\u904a\u3070\u305b\u308b\u3060\u3051\u306f\u3064\u307e\u3089\u306a\u3044\u306e\u3067\u3001\u6bce\u56de\u30d7\u30ea\u30f3\u30c8\u3092\u914d\u308b\u3057\uff081\u56de300\u5186\u4e5f\u3092\u5fb4\u53ce\u3057\u3066\u3044\u308b\u306e\u3067\uff09\u3001\u305d\u308c\u306a\u308a\u306b\u300c\u30d1\u30bd\u30b3\u30f3\u306b\u6163\u308c\u308b\u300d\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3068\u3001\u3044\u3046\u72b6\u6cc1\u306f\u3055\u3066\u304a\u304d\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u74b0\u5883\u3068\u3057\u3066\u306f\u3042\u307e\u308a\u30ea\u30c3\u30c1\u306a\u74b0\u5883\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u305d\u3053\u306f\u5de5\u592b\u6b21\u7b2c\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<h2 id=\"scratch-%E3%81%8B%E3%82%89-microbit-%E3%82%92%E6%93%8D%E4%BD%9C%E3%81%99%E3%82%8B\">Scratch \u304b\u3089 micro:bit \u3092\u64cd\u4f5c\u3059\u308b<\/h2>\n<p>micro:bit \u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u306f2\u7a2e\u985e\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3 id=\"makecode-%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0\">MakeCode \u3092\u4f7f\u3063\u3066\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0<\/h3>\n<p>https:\/\/makecode.microbit.org\/<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/10\/images20191006_03org-5.jpg\"><img decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/10\/images20191006_03thum-5.jpg\"><\/a><\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u3063\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u3057\u3066\u3001micro:bit \u306b\u6d41\u3057\u8fbc\u307f\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u5f8c\u306b HEX \u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u65b9\u6cd5\u3068\u3001\u3042\u3089\u304b\u3058\u3081 micro:bit \u3068\u30ea\u30f3\u30af\uff08\u305f\u3076\u3093\u3001BLE\u3092\u4f7f\u3063\u3066\u3044\u308b\uff09\u3055\u305b\u3066\u304a\u3044\u3066\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089\u76f4\u63a5\u6d41\u3057\u8fbc\u3093\u3067\u304f\u308c\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u624b\u5143\u306e PC \u3067\u3084\u308b\u3068\u3001\u3053\u306e\u81ea\u52d5\u6d41\u3057\u8fbc\u307f\u304c\u4fbf\u5229\u306a\u306e\u3067\u64cd\u4f5c\u7684\u306b\u306f\u3055\u307b\u3069\u6c17\u306b\u306a\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3002Bluetooth \u306e\u4ed8\u3044\u3066\u306a\u3044\u30c7\u30b9\u30af\u30c8\u30c3\u30d7PC\u3068\u304b\u3001\u53e4\u3044 Windows 7 \u306e\u30ce\u30fc\u30c8PC\u3060\u3068\u7d50\u69cb\u306a\u624b\u9593\u3067\u3059\u3002<\/p>\n<p>\u3042\u3068\u3001Scratch \u306b\u6163\u308c\u3066\u3044\u308b\u3068\u3001\u3053\u306e<\/p>\n<ul>\n<li>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u3001\u30de\u30a4\u30b3\u30f3\uff08micro:bit\uff09\u306b\u6d41\u3057\u8fbc\u3080<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u6d41\u308c\u304c\u96e3\u3057\u304b\u3063\u305f\u308a\u3057\u307e\u3059\u3002\u305d\u306e\u3042\u305f\u308a\u306f\u3001\u96fb\u5b50\u5de5\u4f5c\u3067 Arduino \u3092\u4f7f\u3063\u3066\u3044\u308c\u3070\u6163\u308c\u308b\u306e\u3067\uff08\u3068\u3044\u3046\u304b\u6163\u308c\u306a\u3044\u3068\u3044\u3051\u306a\u3044\uff09\u306e\u3067\u3001\u305d\u308c\u306f\u3044\u305a\u308c\u3084\u308b\u3064\u3082\u308a\u3002<\/p>\n<h3 id=\"scratch-30-%E3%81%8B%E3%82%89%E7%9B%B4%E6%8E%A5-microbit-%E3%82%92%E6%93%8D%E4%BD%9C\">Scratch 3.0 \u304b\u3089\u76f4\u63a5 micro:bit \u3092\u64cd\u4f5c<\/h3>\n<p>https:\/\/scratch.mit.edu\/<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/10\/images20191006_04org-5.jpg\"><img decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/10\/images20191006_04thum-5.jpg\"><\/a><\/p>\n<p>\u3082\u3046\u3072\u3068\u3064\u3001Scratch 3.0 \u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3059\u3002Scratch 3.0 \u3067\u306f\u3001\u3042\u3089\u304b\u3058\u3081 micro:bit \u306b scratch-microbit-1.1.0.hex \u306a\u30d5\u30a1\u30fc\u30e0\u3092\u66f8\u304d\u8fbc\u3093\u3067\u304a\u3044\u3066\u3001BLE \u901a\u4fe1\u3092\u3057\u306a\u304c\u3089\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002\u3053\u308c\u3060\u3068\u3001\u3044\u3061\u3044\u3061 micro:bit \u306b\u66f8\u304d\u8fbc\u3080\u5fc5\u8981\u304c\u306a\u304f\u3066\u3001Scratch \u306e\u64cd\u4f5c\u3060\u3051\u3067 micro:bit \u3092\u6271\u3048\u307e\u3059\u3002<\/p>\n<p>micro:bit \u3068 BLE \u901a\u4fe1\u3067\u9023\u643a\u3092\u3059\u308b\u306e\u3067\u3001<\/p>\n<ul>\n<li>micro:bit \u306eA\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089\u3001\u732b\u306b\u558b\u3089\u305b\u308b<\/li>\n<li>Scratch \u732b\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3089\u3001micro:bit \u306e LED \u3092\u5149\u3089\u305b\u308b<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u52d5\u304d\u304c\u7c21\u5358\u306b\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3060\u3068\u3001\u7269\u7406\u7684\u306a\u3082\u306e\u3092\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u64cd\u4f5c\u3059\u308b\u300d\u3068\u3044\u3046\u306e\u304c\u76f4\u611f\u7684\u306b\u308f\u304b\u3063\u3066\u3044\u3044\u3067\u3059\u3002\u5185\u90e8\u306f\u3001\u3084\u3084\u3053\u3057\u3044\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3002<\/p>\n<p>Scratch \u3067 micro:bit \u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u6761\u4ef6\u304c\u3042\u3063\u3066\u3001<\/p>\n<ul>\n<li>BLE \u63a5\u7d9a\u3067\u304d\u308b\u3053\u3068<\/li>\n<li>Scratch Link \u3092\u52d5\u304b\u3057\u3066\u304a\u304f\u3053\u3068<\/li>\n<\/ul>\n<p>\u304c\u3042\u308a\u307e\u3059\u3002micro:bit \u3068 BLE \u901a\u4fe1\u3092\u3059\u308b\u306e\u3067\u3001Buetooth \u304c\u5fc5\u8981\u306a\u306e\u306f\u3044\u3044\u306e\u3067\u3059\u304c\u3001\u3055\u3066\u3001Scratch Link \u304c\u3061\u3087\u3063\u3068\u7656\u3082\u306e\u306a\u306e\u3067\u3059\u3002<br \/>\nScratch Link \u306e\u52d5\u4f5c\u6761\u4ef6\u304c\u3001<\/p>\n<ul>\n<li>Windows 10 \u4ee5\u964d<\/li>\n<li>macOS<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u3066\u3001Windows 7 \u3067\u306f\u52d5\u304b\u306a\u3044\u3002\u4f55\u6545\uff1f\u3063\u3066\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>scratch-link<br \/>\nhttps:\/\/github.com\/LLK\/scratch-link<\/p>\n<p>\u7406\u7531\u306f\u3001Scratch Link \u306e\u30b3\u30fc\u30c9\u3092\u898b\u308b\u3068\u308f\u304b\u308a\u307e\u3059\u3002Windows \u306e\u5834\u5408\u3001UWP \u3067\u4f7f\u308f\u308c\u3066\u3044\u308b Bluetooth \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001\u3053\u308c\u304c Windows 10 \u4ee5\u964d\u3057\u304b\u5165\u3063\u3066\u3044\u306a\u3044\u3093\u3067\u3059\u3088\u306d\u3002Windows 8 \u304c\u51fa\u305f\u9803\u306b\u3001BLE \u901a\u4fe1\u304c\u6d41\u884c\u3063\u305f\u6642\u4ee3\u304c\u3042\u3063\u3066\u3001\u305d\u306e\u3068\u304d\u306b Windows 7 \u3067\u52d5\u304b\u305d\u3046\u3068\u3057\u3066\u60aa\u6226\u82e6\u95d8\u3057\u305f\u899a\u3048\u304c\u3042\u308a\u307e\u3059\u3002\u7d50\u5c40 BLE \u901a\u4fe1\u306f\u7121\u7406\u306a\u306e\u3067 Bluetooth \u306e\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306b\u3057\u307e\u3057\u305f\u304c\u3002\u5b9f\u306f\u3001Scratch Link \u5185\u90e8\u3067\u306f\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u74b0\u5883\u304c Windows 10 \u4ee5\u964d\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3067\u3082 Winodws 7 \u306f\u4f7f\u3048\u306a\u3044\u306e\u3067\u3059\u3002\u307e\u3042\u3001\u305d\u306e\u3068\u304d\u306f\u81ea\u524d\u30d3\u30eb\u30c9\u3092\u3059\u308b\u308f\u3051\u3067\u3059\u304c\u3002<\/p>\n<h2 id=\"scratch-30---scratch-link---microbit-%E3%81%AE%E9%96%A2%E4%BF%82%E3%82%92%E7%B4%90%E8%A7%A3%E3%81%8F\">Scratch 3.0 &#8211; Scratch Link &#8211; micro:bit \u306e\u95a2\u4fc2\u3092\u7d10\u89e3\u304f<\/h2>\n<p>Scrach 3.0 \u306e\u30b3\u30fc\u30c9\u306f Github \u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/LLK\/scratch-gui\">LLK\/scratch-gui: Graphical User Interface for creating and running Scratch 3.0 projects.<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/LLK\/scratch-vm\">LLK\/scratch-vm: Virtual Machine used to represent, run, and maintain the state of programs for Scratch 3.0<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/LLK\/scratch-link\">LLK\/scratch-link: Device interoperability layer for Windows and MacOS<\/a><\/li>\n<\/ul>\n<p>\u306e3\u3064\u304b\u3089\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002scratch-microbit-1.1.0.hex \u306e\u30b3\u30fc\u30c9\u306f\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u307e\u3042\u3001\u3053\u308c\u306f BLE \u306e\u30da\u30ea\u30d5\u30a7\u30e9\u30eb\u306a\u3068\u3053\u308d\u306a\u306e\u3067\u7701\u7565\u3057\u3066\u3082ok\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3056\u3063\u3068\u3001\u8abf\u3079\u305f\u3068\u3053\u308d\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<pre class=\"hljs\"><code>\n\n<div>Scratch on Browser \n WebSocket\n ^\n | JSON-RPC\n v\n WebSocketServer\n JSONRPCWebSocket\n + didReceiveCall\nScratch Link \n BLESession\n + DidReceiveCall\n + OnValueChanged\n ^\n | BLE GATT \n v\n BLE\nmicro:bit\n<\/div>\n\n<\/code><\/pre>\n<ul>\n<li>Scratch 3.0 \u3067 WebSocket \u3092\u4f7f\u3063\u3066\u3044\u308b<\/li>\n<li>Scratch Link \u306f WebSocketServer \u3067\u5f85\u3061\u53d7\u3051<\/li>\n<li>Scratch 3.0 &#8211; Scratch Link \u306e\u9593\u306f JSON-RPC \u3067\u901a\u4fe1<\/li>\n<li>Scratch Link \u3068 micro:bit \u306f BLESession \u3067 BLE \u901a\u4fe1<\/li>\n<\/ul>\n<p>\u305d\u3046\u306a\u308b\u3068\u3001Scratch Link \u306e JSON-RPC \u3067\u53d7\u3051\u3066\u3044\u308b\u3068\u3053\u308d\u3092\u9069\u5f53\u306b WiFi \u306b\u5207\u308a\u66ff\u3048\u3066\u3084\u3063\u3066\u3001\u30e9\u30ba\u30d1\u30a4\u3084\u9069\u5f53\u306a Windows 10 \u3092\u631f\u307f\u8fbc\u3093\u3060\u30d7\u30ed\u30ad\u30b7\u3092\u4f5c\u308c\u3070\u3044\u3051\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n<p>\u3068\u601d\u3063\u3066\u3001Scratch Link \u306e\u30b3\u30fc\u30c9\u3092 .NET Core \u3067\u66f8\u304d\u63db\u3048\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001Scratch 3.0 -&gt; Scratch Link \u306a URL \u3063\u3066\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u306e\u304b\uff1f\u3068\u601d\u3044\u81f3\u308a\u307e\u3057\u305f\u3002\u3044\u3084\u3044\u3084\u3001WebSocket \u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3002<\/p>\n<p><a href=\"https:\/\/ja.scratch-wiki.info\/wiki\/Scratch_Link\">Scratch Link &#8211; Japanese Scratch-Wiki<\/a><\/p>\n<p>\u3092\u6539\u3081\u3066\u307f\u308b\u3068\u3001\u300e\u305d\u306e\u305f\u3081\u3001Scratch\u306flocalhost\u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u305f\u3081\u3001device-manager.scratch.mit.edu\u306b\u63a5\u7d9a\u3059\u308b\u3002\u300f\u3068\u3044\u3046\u4e00\u6587\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3057\u304b\u306b\u3001scratch-vm \u306e\u30b3\u30fc\u30c9\u3092\u691c\u7d22\u3059\u308b\u3068\u3001\u3053\u306e URL \u304c\u66f8\u3044\u3066\u3042\u3063\u3066\u3001\u76f4\u63a5\u30ed\u30fc\u30ab\u30eb\u306aPC\uff08localhost \u3068\u304b 127.0.0.1 \u3068\u304b\uff09\u306b\u306f\u63a5\u7d9a\u3057\u3066\u3044\u306a\u3044\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>\u306a\u308b\u307b\u3069\uff01WebSocket \u3063\u3066 localhost \u304c\u4f7f\u3048\u306a\u3044\u306e\u304b\uff01\u3063\u3066\u3053\u3068\u3067\u3057\u305f\u3002<br \/>\n\u601d\u3044\u8fbc\u307f\u3067\u3001localhost \u3057\u304b\u4f7f\u3048\u306a\u3044\u306e\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u5b9f\u306f localhost\u300c\u306f\u300d\u4f7f\u3048\u306a\u3044\u3068\u3044\u3046\u843d\u3068\u3057\u7a74\u304c\uff08\u82e6\u7b11\uff09\u3042\u3063\u305f\u306e\u3067\u3059\u306d\u3002<br \/>\n\u306a\u306e\u3067\u3001Scratch 3.0 \u306f\u3001\u62e1\u5f35\u6a5f\u80fd\u3067 WebSocket \u3092\u4f7f\u3046\u305f\u3073\u306b device-manager.scratch.mit.edu \u3092\u547c\u3073\u51fa\u3057\u3066 DNS \u3067 127.0.0.1 \u3092\u8fd4\u3057\u3066\u8cb0\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"hosts-%E3%82%92%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B\">hosts \u3092\u5909\u66f4\u3059\u308b<\/h2>\n<p>\u3068\u306a\u308c\u3070\u3001\u8a71\u306f\u7c21\u5358\u3067\u3059\u3002<br \/>\n\u3044\u3061\u3044\u3061\u3001\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b device-manager.scratch.mit.edu \u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u4ed6\u306e PC \u3092\u547c\u3073\u51fa\u3057\u305f\u3044\u5834\u5408\u306f device-manager.scratch.mit.edu \u3092\u901a\u3059\u5fc5\u8981\u304c\u306a\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u5b9f\u73fe\u3057\u305f\u3044\u74b0\u5883\u3068\u3057\u3066\u3001<\/p>\n<ul>\n<li>Scratch 3.0 \u304c\u52d5\u3044\u3066\u3044\u308b Windows 7<\/li>\n<li>micro:bit \u3068\u63a5\u7d9a\u3057\u3066\u3044\u308b BLE \u3042\u308a\u306e Windows 10<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u5225\u3005\u306e\u74b0\u5883\u3092\u4f5c\u3063\u305f\u5834\u5408\u3001Windows 7 \u304b\u3089 Windows 10 \u306e Scratch Link \u3078\u306e\u901a\u4fe1\u306b\u5207\u308a\u66ff\u3048\u3066\u3084\u308c\u3070\u3088\u3044\u308f\u3051\u3067\u3001<\/p>\n<ul>\n<li>Windows \u306a\u3089\u3070\u3001C:\\Windows\\System32\\drivers\\etc\\hosts<\/li>\n<li>Linux \u306a\u3089\u3070 \/etc\/hosts<\/li>\n<\/ul>\n<p>\u3092\u66f8\u304d\u52a0\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code>\n\n<div>192.168.1.28 device-manager.scratch.mit.edu\n<\/div>\n\n<\/code><\/pre>\n<p>\u300c192.168.1.28\u300d\u306a\u3068\u3053\u308d\u306f\u3001Windows 10 \u306e\u3042\u308b PC \u306e IP \u306b\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u3001device-manager.scratch.mit.edu \u3078\u306e\u547c\u3073\u51fa\u3057\u304c\u507d\u88c5\u3055\u308c\u3066\u3001micro:bit \u306b\u7e4b\u304c\u3063\u3066\u3044\u308b Scratch Link\uff08Windows 10 \u3042\u308b\u3044\u306f macOS\uff09 \u3078\u63a5\u7d9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/10\/images20191006_05org-5.jpg\"><img decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/10\/images20191006_05thum-5.jpg\"><\/a><\/p>\n<p>2\u4ee5\u4e0a\u7e4b\u304c\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u3053\u3093\u306a\u98a8\u306b\u4e26\u3076\u306e\u3067\u540d\u524d\u3067\u4f7f\u3044\u5206\u3051\u308c\u3070\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2 id=\"scratch-vm-%E3%81%AE%E3%81%BB%E3%81%86%E3%82%92%E6%9B%B8%E3%81%8D%E6%8F%9B%E3%81%88%E3%82%8B\">scratch-vm \u306e\u307b\u3046\u3092\u66f8\u304d\u63db\u3048\u308b<\/h2>\n<p>\u306a\u304a\u3001\u3082\u3046\u4e00\u3064\u306e\u65b9\u306f\u3001scratch-vm \u306b\u3042\u308b WebScoket \u306e\u63a5\u7d9a\u5148\u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/LLK\/scratch-vm\/blob\/develop\/src\/util\/scratch-link-websocket.js#L28\">scratch-vm\/scratch-link-websocket.js at develop \u00b7 LLK\/scratch-vm<\/a><\/p>\n<p>scrach-gui\/vm\/link \u3092\u3042\u308c\u3053\u308c\u3084\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u81ea\u524d\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u306a\u30d6\u30ed\u30c3\u30af\u3092\u5275\u3063\u305f\u308a\u3001Android \u306e Firemate \u306b\u7e4b\u3052\u305f\u308a\u3057\u305f\u3044\u306e\u3067\u3001\u3053\u3063\u3061\u306e\u307b\u3046\u306f\u3044\u305a\u308c\u8a66\u3057\u3066\u307f\u308b\u4e88\u5b9a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b66\u7ae5\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3067\u3001Minecraft on Scratch \u304b\u3089\u5b50\u4f9b\u306e\u8208\u5473\u3092\u5f15\u304d\u306f\u304c\u3059\u3079\u304f\u3001micro:bit \u3092 5\u500b\uff08\u5897\u7a0e\u524d\u3001\u6d88\u8cbb\u7a0e8%\u306e\u99c6\u3051\u8fbc\u307f\uff09\u8cfc\u5165\u3057\u307e\u3057\u305f\u3002 \u5b9f\u306f\u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9\u3055\u3093\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u30ec\u30b9 &hellip; <a href=\"https:\/\/www.moonmile.net\/blog\/archives\/10268\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10268","post","type-post","status-publish","format-standard","hentry","category-dev"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/10268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=10268"}],"version-history":[{"count":2,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/10268\/revisions"}],"predecessor-version":[{"id":10270,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/10268\/revisions\/10270"}],"wp:attachment":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=10268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=10268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=10268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}