{"id":46520,"date":"2023-10-04T22:54:05","date_gmt":"2023-10-04T14:54:05","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=46520"},"modified":"2023-10-04T22:54:05","modified_gmt":"2023-10-04T14:54:05","slug":"mcktx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/46520.html","title":{"rendered":"Microbit\u4e32\u53e3\u901a\u4fe1"},"content":{"rendered":"

  Micro:bit\u662f\u4e00\u6b3e\u975e\u5e38\u5b9e\u7528\u7684\u5fae\u63a7\u5236\u5668\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u5404\u79cd\u6709\u8da3\u7684\u9879\u76ee\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u63a7\u5236LED\u706f\u3001\u4f20\u611f\u5668\u3001\u7535\u673a\u7b49\uff0c\u8fd8\u53ef\u4ee5\u7528\u6765\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u3002\u672c\u6587\u5c06\u4ecb\u7ecdmicro:bit\u4e32\u53e3\u901a\u4fe1\u7684\u539f\u7406\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u9879\u76ee\u3002<\/p>\n

\u4ec0\u4e48\u662f\u4e32\u53e3\u901a\u4fe1\uff1f<\/h2>\n

  \u4e32\u53e3\u901a\u4fe1\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u6280\u672f\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u4f8b\u5982\u5728\u4e00\u53f0\u8ba1\u7b97\u673a\u548c\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\uff0c\u6216\u8005\u5728\u4e00\u53f0\u8ba1\u7b97\u673a\u548c\u4e00\u4e2a\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002<\/p>\n

  micro:bit\u7684\u4e32\u53e3\u901a\u4fe1<\/h3>\n

  micro:bit\u53ef\u4ee5\u4f7f\u7528\u4e32\u53e3\u901a\u4fe1\u6765\u8fde\u63a5\u5176\u4ed6\u8bbe\u5907\uff0c\u4f8b\u5982\u7535\u8111\u3001\u624b\u673a\u3001Arduino\u7b49\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\uff0c\u4ee5\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u9879\u76ee\uff0c\u4f8b\u5982\u8fdc\u7a0b\u63a7\u5236LED\u706f\u3001\u63a7\u5236\u673a\u5668\u4eba\u7b49\u3002<\/p>\n

  micro:bit\u4e32\u53e3\u901a\u4fe1\u5982\u4f55\u5de5\u4f5c\uff1f<\/h3>\n

  micro:bit\u4e32\u53e3\u901a\u4fe1\u7684\u5de5\u4f5c\u539f\u7406\u5341\u5206\u7b80\u5355\u3002\u5f53micro:bit\u4e0e\u53e6\u4e00\u4e2a\u8bbe\u5907\u8fde\u63a5\u65f6\uff0c\u5b83\u4f1a\u4f7f\u7528\u4e00\u79cd\u53eb\u505aUART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u7684\u534f\u8bae\u6765\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002UART\u534f\u8bae\u4f7f\u7528\u4e24\u4e2a\u7ebf\u8def\u6765\u4f20\u8f93\u6570\u636e\uff0c\u4e00\u4e2a\u7528\u4e8e\u53d1\u9001\u6570\u636e\uff0c\u53e6\u4e00\u4e2a\u7528\u4e8e\u63a5\u6536\u6570\u636e\u3002micro:bit\u53ef\u4ee5\u4f7f\u7528UART\u534f\u8bae\u6765\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5b9e\u73b0\u4e0e\u5176\u4ed6\u8bbe\u5907\u7684\u901a\u4fe1\u3002<\/p>\n

micro:bit\u4e32\u53e3\u901a\u4fe1\u7684\u5e94\u7528<\/h2>\n

  micro:bit\u7684\u4e32\u53e3\u901a\u4fe1\u529f\u80fd\u53ef\u4ee5\u7528\u6765\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u9879\u76ee\uff0c\u4f8b\u5982\u8fdc\u7a0b\u63a7\u5236LED\u706f\u3001\u63a7\u5236\u673a\u5668\u4eba\u7b49\u3002<\/p>\n

  1. \u8fdc\u7a0b\u63a7\u5236LED\u706f<\/h3>\n

  micro:bit\u53ef\u4ee5\u4f7f\u7528\u4e32\u53e3\u901a\u4fe1\u6280\u672f\u6765\u8fdc\u7a0b\u63a7\u5236LED\u706f\u3002\u53ea\u9700\u8981\u5c06micro:bit\u8fde\u63a5\u5230\u7535\u8111\uff0c\u7136\u540e\u4f7f\u7528\u4e00\u6bb5\u7b80\u5355\u7684\u4ee3\u7801\u5c31\u53ef\u4ee5\u5b9e\u73b0\u8fdc\u7a0b\u63a7\u5236LED\u706f\u4e86\u3002<\/p>\n

  2. \u63a7\u5236\u673a\u5668\u4eba<\/h3>\n

  micro:bit\u4e5f\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u673a\u5668\u4eba\u3002\u53ea\u9700\u8981\u5c06micro:bit\u8fde\u63a5\u5230\u673a\u5668\u4eba\uff0c\u7136\u540e\u4f7f\u7528\u4e00\u6bb5\u7b80\u5355\u7684\u4ee3\u7801\u5c31\u53ef\u4ee5\u5b9e\u73b0\u63a7\u5236\u673a\u5668\u4eba\u7684\u529f\u80fd\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  micro:bit\u53ef\u4ee5\u4f7f\u7528\u4e32\u53e3\u901a\u4fe1\u6280\u672f\u6765\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u9879\u76ee\uff0c\u4f8b\u5982\u8fdc\u7a0b\u63a7\u5236LED\u706f\u3001\u63a7\u5236\u673a\u5668\u4eba\u7b49\u3002<\/strong>micro:bit\u7684\u4e32\u53e3\u901a\u4fe1\u529f\u80fd\u53ef\u4ee5\u8282\u7701\u5927\u91cf\u7684\u65f6\u95f4\u548c\u7cbe\u529b\uff0c\u4f7f\u9879\u76ee\u5f00\u53d1\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Micro:bit\u662f\u4e00\u6b3e\u975e\u5e38\u5b9e\u7528\u7684\u5fae\u63a7\u5236\u5668\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u5404\u79cd\u6709\u8da3\u7684\u9879\u76ee\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u63a7\u5236LED\u706f\u3001\u4f20\u611f\u5668\u3001\u7535\u673a\u7b49\uff0c\u8fd8\u53ef\u4ee5\u7528\u6765\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u3002\u672c\u6587\u5c06\u4ecb\u7ecdmicro:bit\u4e32\u53e3\u901a<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[69],"class_list":["post-46520","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=46520"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46520\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=46520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=46520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=46520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}