{"id":60,"date":"2017-10-10T20:51:53","date_gmt":"2017-10-10T12:51:53","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/6646\/2017\/10\/10\/microbit-%e6%95%99%e5%ad%b8%e6%87%89%e7%94%a8-%e6%8c%89%e6%8c%89%e6%8c%89%e7%b3%bb%e7%b5%b1-scratch-%e7%89%88\/"},"modified":"2021-03-18T18:06:11","modified_gmt":"2021-03-18T10:06:11","slug":"microbit-%e6%95%99%e5%ad%b8%e6%87%89%e7%94%a8-%e6%8c%89%e6%8c%89%e6%8c%89%e7%b3%bb%e7%b5%b1-scratch-%e7%89%88","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/6646\/2017\/10\/10\/microbit-%e6%95%99%e5%ad%b8%e6%87%89%e7%94%a8-%e6%8c%89%e6%8c%89%e6%8c%89%e7%b3%bb%e7%b5%b1-scratch-%e7%89%88\/","title":{"rendered":"Micro:bit \u6559\u5b78\u61c9\u7528 &#8212; \u6309\u6309\u6309\u7cfb\u7d71 Scratch \u7248"},"content":{"rendered":"<p>\u5728\u4e0a\u4e00\u7bc7 <a href=\"http:\/\/blog.ilc.edu.tw\/blog\/blog\/6646\/post\/22967\/714004\" target=\"_blank\" rel=\"noopener noreferrer\">Micro:bit \u6559\u5b78\u61c9\u7528 &#8212; \u6309\u6309\u6309\u7cfb\u7d71<\/a> \u4e2d\uff0c\u8001\u7239\u5728\u5f8c\u8a18\u4e2d\u63d0\u5230\u9023\u7d50 Scratch \u7cfb\u7d71\u7684\u60f3\u6cd5\uff0c\u611f\u8b1d <a href=\"https:\/\/www.facebook.com\/jialun.cai1\" target=\"_blank\" rel=\"noopener noreferrer\">\u8521\u4f73\u502b<\/a> \u8001\u5e2b\u5354\u52a9\uff0c\u8b93\u8001\u7239\u7684\u5922\u60f3\u53ef\u4ee5\u5be6\u73fe\u3002<\/p>\n<p>\u672c\u7bc7 \u6309\u6309\u6309\u7cfb\u7d71 Scratch \u7248 \u7684\u76ee\u7684\u5728\u65bc\u900f\u904e\u96fb\u8166\u7cfb\u7d71\uff0c\u751a\u81f3\u662f\u5927\u96fb\u8996\u6216\u55ae\u69cd\uff0c\u8b93\u5b78\u751f\u5f9e\u756b\u9762\u4e2d\u770b\u5230\u81ea\u5df1\u7684\u8868\u73fe\u53cd\u994b\uff0c\u63d0\u9ad8\u5b78\u7fd2\u8208\u8da3\u3002<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936524.jpg\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936525.jpg\" border=\"0\" alt=\"A03\" title=\"A03\" width=\"404\" height=\"254\" \/><\/a><\/p>\n<p>\u4f7f\u7528\u672c\u7cfb\u7d71\u7684\u670b\u53cb\u9700\u8981\u6709\u4e00\u9ede\u9ede Scratch \u57fa\u790e\uff0c\u56e0\u70ba\u9664\u4e86\u8b8a\u66f4\u53c3\u6578\u4ee5\u5916\uff0c\u6bcf\u4e00\u500b\u5b78\u751f\u90fd\u662f\u4e00\u500b\u89d2\u8272\uff0c\u9700\u8981\u8001\u5e2b\u82b1\u6642\u9593\u4e00\u4e00\u5efa\u7acb\u3002<\/p>\n<p>[@more@]<\/p>\n<p>\u4f7f\u7528\u524d\u8acb\u5148\u4e0b\u8f09 <a href=\"http:\/\/ghcat.ghjh.ilc.edu.tw\/public1\/microbit\/\u6309\u6309\u6309scratch.zip\" target=\"_blank\" rel=\"noopener noreferrer\">\u6309\u6309\u6309\u7cfb\u7d71 Scratch \u7248<\/a><\/p>\n<p>\u89e3\u58d3\u7e2e\u5f8c\u6709\u56db\u500b\u6a94\u6848\uff0cmicrobit-\u5b78\u751f\u7aef.py \u662f\u6e96\u5099\u5b78\u751f\u7528\u7684\u677f\u5b50\u7a0b\u5f0f\uff0c\u9023\u7d50 <a href=\"http:\/\/python.microbit.org\/v\/1\" target=\"_blank\" rel=\"noopener noreferrer\">micropython \u7de8\u8f2f\u5668<\/a>\uff0c\u958b\u555f\u7a0b\u5f0f\uff0c\u66f4\u6539\u7b2c 7 \u884c c \u7684\u503c (\u6ce8\u610f 1~9 \u865f\u524d\u9762\u4e00\u5b9a\u8981\u88dc 0 ) \u8ddf\u7b2c 8 \u884c cn \u7684\u503c\uff0c\u8a2d\u70ba\u5b78\u751f\u7684\u5ea7\u865f\u6216\u7d44\u5225\uff0c\u6bcf\u4e00\u7247\u677f\u5b50\u4e00\u500b\u865f\u78bc\uff0c\u4e0d\u53ef\u4ee5\u91cd\u8907\uff0c\u7136\u5f8c\u6309 Download \u4e0b\u8f09\u5230\u6bcf\u4e00\u7247\u5b78\u751f\u7528\u7684 micro:bit \u4e0a\u3002<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936526.jpg\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936527.jpg\" border=\"0\" alt=\"A01\" title=\"A01\" width=\"404\" height=\"242\" \/><\/a><\/p>\n<p>KK.exe \u53ca microbit-\u6559\u5e2b\u7aef.hex \u70ba\u8521\u8001\u5e2b\u63d0\u4f9b\uff0cmicrobit-\u6559\u5e2b\u7aef.hex \u76f4\u63a5\u5b58\u5230\u6559\u5e2b\u8981\u7528\u7684 micro:bit \u677f\u5b50\u4e0a\u5373\u53ef\uff0c\u8981\u4f7f\u7528\u6642\u8acb\u5728\u96fb\u8166\u4e2d\u5148\u57f7\u884c KK.exe\uff0c\u4e26\u8b93\u5b83\u5e38\u99d0 (\u4e0d\u8981\u628a\u5b83\u95dc\u6389\u5c31\u597d)\uff0c\u5b83\u662f micro:bit \u786c\u9ad4\u8ddf Sctatch \u8edf\u9ad4\u9593\u6e9d\u901a\u7684\u6a4b\u6a11\u3002<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936528.jpg\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936529.jpg\" border=\"0\" alt=\"A02\" title=\"A02\" width=\"404\" height=\"135\" \/><\/a><\/p>\n<p>scratch-\u6559\u5e2b\u7aef.sb2 \u662f \u6559\u5e2b\u7aef\u7684 Scratch \u7a0b\u5f0f\uff0c\u6559\u5e2b\u7aef Micro:bit \u677f\u5b50\u6e96\u5099\u597d\u4ee5\u5f8c\uff0c\u57f7\u884c Scratch \u7a0b\u5f0f\u5f8c\u8f09\u5165\uff0c\u9ede\u9078 &#8220;\u66f4\u591a\u7a4d\u6728&#8221;\uff0c\u6703\u770b\u5230 &#8220;Micro:bit \u6e2c\u8a66&#8221; \u53f3\u908a\u7684\u71c8\u865f\u70ba\u7da0\u8272\u8868\u793a\u6b63\u5e38\u9023\u7d50\uff0c\u5982\u70ba\u7d05\u8272\u8acb\u6aa2\u67e5\u4e0a\u9762\u7684\u6b65\u9a5f\u3002<\/p>\n<p>scratch-\u6559\u5e2b\u7aef.sb2 \u7a0b\u5f0f\u4e2d\u6709\u4e00\u4e9b\u6771\u897f\u8981\u8acb\u8001\u5e2b\u81ea\u884c\u66f4\u6539\uff0c\u7b2c\u4e00\u500b\u662f\u677f\u5b50\u7684 com port\uff0c\u8acb\u7531\u96fb\u8166\u7cfb\u7d71 \u8a2d\u5b9a\u88dd\u7f6e\u88dd\u7f6e\u7ba1\u7406\u54e1\u9023\u63a5\u57e0 \u4e2d\uff0c\u627e\u5230 Micro:bit \u7684 &#8220;USB \u5e8f\u5217\u88dd\u7f6e&#8221; \u70ba COM \u591a\u5c11\uff0c\u8b8a\u66f4 &#8220;Micro:bit \u63d2\u5728&#8221; \u7a4d\u6728\u70ba\u6b63\u78ba\u503c\uff0c\u6bcf\u6b21\u4f7f\u7528\u6642\uff0c\u5c24\u5176\u662f\u63db\u96fb\u8166\u4f7f\u7528\u4e00\u5b9a\u8981\u91cd\u65b0\u67e5\u8a62\u8b8a\u66f4\u3002<\/p>\n<p>\u518d\u4f86\u662f\u6700\u5927\u7684\u5de5\u7a0b\uff0c\u628a\u8001\u7239\u7a0b\u5f0f\u4e2d\u7684\u5b78\u751f\u89d2\u8272\u7bc4\u4f8b\u5168\u90e8\u63db\u6210\u4f60\u7684\u5b78\u751f\uff0c\u5982\u679c\u8cc7\u8a0a\u8ab2\u6709\u6559\u5b78\u751f\u4f7f\u7528 Scratch\uff0c\u5efa\u8b70\u76f4\u63a5\u8acb\u5b78\u751f\u8a2d\u8a08\u81ea\u5df1\u7684\u89d2\u8272\u518d\u532f\u5165\u5373\u53ef\uff0c\u5b78\u751f\u61c9\u8a72\u6703\u66f4\u6709\u8208\u8da3\u3002\u5efa\u7acb\u5b8c\u6210\u5f8c\u8a18\u5f97\u66f4\u6539\u6bcf\u500b\u89d2\u8272\u7a0b\u5f0f\u4e2d &#8220;radioNo = &#8220;\u7684\u503c (\u5169\u500b\u5730\u65b9\u90fd\u8981\u6539)\uff0c\u8acb\u7528\u5169\u4f4d\u6578\u8868\u793a\uff0c\u7136\u5f8c\u8abf\u6574\u6bcf\u500b\u89d2\u8272\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>\u518d\u4f86\u6539\u5169\u500b\u53c3\u6578\uff0cstuNo \u8868\u793a\u9019\u73ed\u5b78\u751f\u6700\u5927\u7684\u865f\u78bc (\u6216\u7d44\u5225)\uff0cwait \u8868\u793a\u6436\u7b54\u6642\u5b78\u751f\u89d2\u8272\u505c\u7559\u7684\u79d2\u6578\u3002<\/p>\n<p>\u4ee5\u4e0a\u6e96\u5099\u5c31\u5927\u529f\u544a\u6210\uff0c\u5c31\u53ef\u4ee5\u628a Micro:bit \u767c\u7d66\u5b78\u751f\uff0c\u5b78\u751f\u4f7f\u7528\u65b9\u5f0f\u8acb\u770b\u524d\u4e00\u7bc7 <a href=\"http:\/\/blog.ilc.edu.tw\/blog\/blog\/6646\/post\/22967\/714004\" target=\"_blank\" rel=\"noopener noreferrer\">Micro:bit \u6559\u5b78\u61c9\u7528 &#8212; \u6309\u6309\u6309\u7cfb\u7d71<\/a> \u8aaa\u660e\u3002<\/p>\n<p>\u518d\u4f86\u8aaa\u660e\u7a0b\u5f0f\u57f7\u884c\u72c0\u6cc1\uff0c\u5efa\u8b70 Scratch \u821e\u53f0\u653e\u5927\u5230\u5168\u87a2\u5e55\uff0c\u6309\u7da0\u65d7\u958b\u59cb\u57f7\u884c\uff0c\u7a0b\u5f0f\u5171\u6709\u56db\u500b\u6a21\u7d44\uff0c\u8acb\u9ede\u9078\u5176\u4e2d\u4e00\u500b\u6309\u9215\u57f7\u884c\u3002<\/p>\n<p>\u96a8\u7b54\u5373\u986f\uff1a\u6559\u5e2b\u7aef Micro:bit \u6309 A \u9375\u5f8c\uff0c\u6bcf\u500b\u5b78\u751f\u89d2\u8272\u90fd\u6703\u524d\u5f8c\u6643\u52d5\uff0c\u6b64\u6642\u958b\u653e\u5b78\u751f\u9078\u7b54\u6848 (A\u9375) \u4e26\u50b3\u9001 (B\u9375)\uff0c\u6559\u5e2b\u7aef\u6536\u5230\u5b78\u751f\u7b54\u6848\u5f8c\u505c\u6b62\u8a72\u89d2\u8272\u6643\u52d5\u4e26\u76f4\u63a5\u79c0\u51fa\u8a72\u751f\u7b54\u6848\uff0c\u6559\u5e2b\u7aef\u6309 B \u9375\u6e05\u9664\u6240\u6709\u7b54\u6848\uff0c\u9019\u500b\u529f\u80fd\u9084\u53ef\u7528\u5728\u6295\u7968\u65b9\u9762\u3002<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936530.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936531.jpg\" border=\"0\" alt=\"A04\" title=\"A04\" width=\"404\" height=\"254\" \/><\/a><\/p>\n<p>\u5168\u7b54\u7d71\u986f\uff1a\u6559\u5e2b\u7aef Micro:bit \u6309 A \u9375\u5f8c\uff0c\u6bcf\u500b\u5b78\u751f\u89d2\u8272\u90fd\u6703\u524d\u5f8c\u6643\u52d5\uff0c\u6b64\u6642\u958b\u653e\u5b78\u751f\u9078\u7b54\u6848 (A\u9375) \u4e26\u50b3\u9001 (B\u9375)\uff0c\u6559\u5e2b\u7aef\u6536\u5230\u5b78\u751f\u7b54\u6848\u5f8c\u505c\u6b62\u8a72\u89d2\u8272\u6643\u52d5\u4e26\u79c0\u51fa\u8a72\u751f ok \u72c0\u614b\uff0c\u5f85\u5b78\u751f\u5168\u90e8\u4f5c\u7b54\u5b8c\u7562\u6216\u6642\u9593\u622a\u6b62\uff0c\u6559\u5e2b\u7aef\u6309 B \u9375\u505c\u6b62\u5b78\u751f\u4f5c\u7b54\uff0c\u4e26\u986f\u793a\u6240\u6709\u5b78\u751f\u7b54\u6848\u3002<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936532.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936533.jpg\" border=\"0\" alt=\"A05\" title=\"A05\" width=\"404\" height=\"254\" \/><\/a>\u00a0\u00a0 <a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936534.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936535.jpg\" border=\"0\" alt=\"A06\" title=\"A06\" width=\"404\" height=\"254\" \/><\/a><\/p>\n<p>\u5373\u6642\u6436\u7b54\uff1a\u6559\u5e2b\u7aef Micro:bit \u6309 A \u9375\u5f8c\uff0c\u6bcf\u500b\u5b78\u751f\u89d2\u8272\u90fd\u6703\u524d\u5f8c\u6643\u52d5\uff0c\u6b64\u6642\u958b\u653e\u5b78\u751f\u76f4\u63a5\u6309 B\u9375 \u6436\u7b54\uff0c\u6559\u5e2b\u7aef\u6536\u5230\u5b78\u751f\u6436\u7b54\u5f8c\u505c\u6b62\u6240\u6709\u89d2\u8272\u6643\u52d5\u4e26\u653e\u5927\u8a72\u751f\u89d2\u8272\uff0c\u8a72\u751f \u5448\u73fe &#8220;\u807d\u6211\u8aaa&#8221; \u72c0\u614b\u3002<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936536.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936537.jpg\" border=\"0\" alt=\"A07\" title=\"A07\" width=\"404\" height=\"254\" \/><\/a><\/p>\n<p>\u7b54\u6848\u6436\u7b54\uff1a\u6559\u5e2b\u7aef Micro:bit \u5148\u6309 B \u9375\u9078\u64c7\u7b54\u6848 (\u6ce8\u610f\u4e0d\u8981\u8b93\u5b78\u751f\u770b\u5230)\uff0c\u7136\u5f8c\u6309 A \u9375\u958b\u59cb\u6436\u7b54\uff0c\u6bcf\u500b\u5b78\u751f\u89d2\u8272\u90fd\u6703\u524d\u5f8c\u6643\u52d5\uff0c\u6b64\u6642\u958b\u653e\u5b78\u751f\u9078\u7b54\u6848 (A\u9375) \u4e26\u50b3\u9001 (B\u9375) \u6436\u7b54\uff0c\u6559\u5e2b\u7aef\u6536\u5230\u5b78\u751f\u6436\u7b54\u5f8c\u5148\u505c\u6b62\u8a72\u89d2\u8272\u6643\u52d5\uff0c\u5982\u679c\u7b54\u6848\u76f8\u540c\u5247\u505c\u6b62\u6240\u6709\u89d2\u8272\u6643\u52d5\u4e26\u653e\u5927\u8a72\u751f\u89d2\u8272\uff0c\u8a72\u751f \u5448\u73fe &#8220;\u6211\u8d0f\u4e86\uff0c\u7b54\u6848\u662f (\u7b54\u6848)&#8221; \u72c0\u614b\u3002<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936538.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-3936539.jpg\" border=\"0\" alt=\"A08\" title=\"A08\" width=\"404\" height=\"254\" \/><\/a><\/p>\n<p>\u5e0c\u671b\u8001\u7239\u9019\u500b\u7cfb\u7d71\u53ea\u662f\u4e00\u500b\u8d77\u6b65\uff0c\u6709\u8208\u8da3\u7684\u670b\u53cb\u53ef\u4ee5\u4f9d\u64da\u9019\u6a23\u7684\u6982\u5ff5\u7e7c\u7e8c\u767c\u5c55\uff0c\u53ef\u4ee5\u52a0\u4e0a\u984c\u76ee\uff0c\u751a\u81f3\u505a\u51fa\u6210\u7e3e\u7d71\u8a08\u7b49\uff0c\u8b93\u4e0a\u8ab2\u66f4\u6709\u8da3\uff0c\u9020\u798f\u66f4\u591a\u5e2b\u751f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e0a\u4e00\u7bc7 Micro:bit \u6559\u5b78\u61c9\u7528 &#8212; \u6309\u6309\u6309\u7cfb\u7d71 \u4e2d\uff0c\u8001\u7239\u5728\u5f8c\u8a18\u4e2d\u63d0\u5230\u9023\u7d50 Scratch &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/6646\/2017\/10\/10\/microbit-%e6%95%99%e5%ad%b8%e6%87%89%e7%94%a8-%e6%8c%89%e6%8c%89%e6%8c%89%e7%b3%bb%e7%b5%b1-scratch-%e7%89%88\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Micro:bit \u6559\u5b78\u61c9\u7528 &#8212; \u6309\u6309\u6309\u7cfb\u7d71 Scratch \u7248\u3009<\/span><\/a><\/p>\n","protected":false},"author":2960,"featured_media":1063,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-22967","entry"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["714995"],"_thumbnail_id":["1063"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/posts\/60"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/users\/2960"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":1123,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/posts\/60\/revisions\/1123"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/media\/1063"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}