{"id":44802,"date":"2023-10-05T12:13:50","date_gmt":"2023-10-05T04:13:50","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=44802"},"modified":"2023-10-05T12:13:50","modified_gmt":"2023-10-05T04:13:50","slug":"sysckfskzl","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/44802.html","title":{"rendered":"\u4f7f\u7528STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED"},"content":{"rendered":"

  LED\uff08\u53d1\u5149\u4e8c\u6781\u7ba1\uff09\u662f\u4e00\u79cd\u53ef\u4ee5\u53d1\u51fa\u8272\u5f69\u4e30\u5bcc\u7684\u5149\u6e90\uff0c\u53ef\u4ee5\u7528\u6765\u6307\u793a\u3001\u663e\u793a\u6216\u88c5\u9970\u3002STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u662f\u4e00\u79cd\u53ef\u4ee5\u901a\u8fc7STM32\u4e32\u53e3\u53d1\u9001\u6570\u636e\u63a7\u5236LED\u7684\u65b9\u5f0f\uff0c\u5b83\u53ef\u4ee5\u8ba9\u6211\u4eec\u66f4\u52a0\u7075\u6d3b\u5730\u63a7\u5236LED\u4eae\u5ea6\u3001\u989c\u8272\u7b49\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u52a0\u590d\u6742\u7684LED\u706f\u5149\u6548\u679c\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSTM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u7684\u539f\u7406\uff0c\u4ee5\u53ca\u5982\u4f55\u5b9e\u73b0\u5b83\u3002<\/p>\n

STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u539f\u7406<\/h2>\n

  STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u7684\u539f\u7406\u5f88\u7b80\u5355\uff0c\u5373\u901a\u8fc7STM32\u7684\u4e32\u53e3\u901a\u4fe1\u6a21\u5757\uff0c\u5c06\u63a7\u5236LED\u7684\u6570\u636e\u53d1\u9001\u7ed9LED\u9a71\u52a8\u5668\uff0c\u7531\u9a71\u52a8\u5668\u6839\u636e\u63a5\u6536\u5230\u7684\u6570\u636e\u63a7\u5236LED\u7684\u4eae\u5ea6\u3001\u989c\u8272\u7b49\u3002<\/p>\n

  STM32\u4e32\u53e3\u53d1\u9001\u6570\u636e<\/h3>\n

  STM32\u7684\u4e32\u53e3\u901a\u4fe1\u6a21\u5757\u53ef\u4ee5\u901a\u8fc7\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u7684\u6570\u636e\uff0c\u5176\u4e2d\u5305\u62ecLED\u7684\u4eae\u5ea6\u3001\u989c\u8272\u3001\u65f6\u95f4\u7b49\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u81ea\u5b9a\u4e49\u6570\u636e\u683c\u5f0f\u3002<\/p>\n

  LED\u9a71\u52a8\u5668\u63a5\u6536\u6570\u636e<\/h3>\n

  LED\u9a71\u52a8\u5668\u53ef\u4ee5\u63a5\u6536STM32\u53d1\u9001\u7684\u63a7\u5236LED\u7684\u6570\u636e\uff0c\u5e76\u6839\u636e\u63a5\u6536\u5230\u7684\u6570\u636e\u63a7\u5236LED\u7684\u4eae\u5ea6\u3001\u989c\u8272\u7b49\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u52a0\u590d\u6742\u7684LED\u706f\u5149\u6548\u679c\u3002<\/p>\n

\u5982\u4f55\u5b9e\u73b0STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED<\/h2>\n

  \u5b9e\u73b0STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\uff0c\u9700\u8981\u5c06STM32\u4e32\u53e3\u6a21\u5757\u548cLED\u9a71\u52a8\u5668\u8fde\u63a5\u8d77\u6765\uff0c\u5e76\u4f7f\u7528\u7279\u5b9a\u7684\u7a0b\u5e8f\u6765\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u3002<\/p>\n

  \u786c\u4ef6\u8fde\u63a5<\/h3>\n

  \u5728\u5b9e\u73b0STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u5c06STM32\u4e32\u53e3\u6a21\u5757\u548cLED\u9a71\u52a8\u5668\u8fde\u63a5\u8d77\u6765\uff0c\u53ef\u4ee5\u4f7f\u7528\u6807\u51c6\u7684TTL\u4e32\u53e3\u8fde\u63a5\u7ebf\uff0c\u5c06STM32\u7684TX\u548cRX\u5206\u522b\u8fde\u63a5\u5230LED\u9a71\u52a8\u5668\u7684RX\u548cTX\uff0c\u4ee5\u4fbf\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u3002<\/p>\n

  \u7a0b\u5e8f\u7f16\u5199<\/h3>\n

  \u5728\u786c\u4ef6\u8fde\u63a5\u5b8c\u6210\u540e\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u7f16\u5199\u7a0b\u5e8f\u4e86\u3002\u9996\u5148\uff0c\u9700\u8981\u5728STM32\u4e32\u53e3\u6a21\u5757\u4e0a\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\uff0c\u5373\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff1b\u5176\u6b21\uff0c\u9700\u8981\u5728LED\u9a71\u52a8\u5668\u4e0a\u5b9e\u73b0\u63a5\u6536\u6570\u636e\u5e76\u6839\u636e\u63a5\u6536\u5230\u7684\u6570\u636e\u63a7\u5236LED\u7684\u4eae\u5ea6\u3001\u989c\u8272\u7b49\uff1b\u6700\u540e\uff0c\u8fd8\u9700\u8981\u7f16\u5199\u7a0b\u5e8f\uff0c\u5b9e\u73b0STM32\u4e32\u53e3\u53d1\u9001\u6570\u636e\uff0c\u4ee5\u53caLED\u9a71\u52a8\u5668\u63a5\u6536\u6570\u636e\u5e76\u63a7\u5236LED\u7684\u529f\u80fd\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u53ef\u4ee5\u8ba9\u6211\u4eec\u66f4\u52a0\u7075\u6d3b\u5730\u63a7\u5236LED\u4eae\u5ea6\u3001\u989c\u8272\u7b49\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u52a0\u590d\u6742\u7684LED\u706f\u5149\u6548\u679c\u3002<\/strong>\u5b9e\u73b0STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\uff0c\u9700\u8981\u5c06STM32\u4e32\u53e3\u6a21\u5757\u548cLED\u9a71\u52a8\u5668\u8fde\u63a5\u8d77\u6765\uff0c\u5e76\u4f7f\u7528\u7279\u5b9a\u7684\u7a0b\u5e8f\u6765\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u3002\u672c\u6587\u4ecb\u7ecd\u4e86STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u7684\u539f\u7406\uff0c\u4ee5\u53ca\u5982\u4f55\u5b9e\u73b0\u5b83\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

LED\uff08\u53d1\u5149\u4e8c\u6781\u7ba1\uff09\u662f\u4e00\u79cd\u53ef\u4ee5\u53d1\u51fa\u8272\u5f69\u4e30\u5bcc\u7684\u5149\u6e90\uff0c\u53ef\u4ee5\u7528\u6765\u6307\u793a\u3001\u663e\u793a\u6216\u88c5\u9970\u3002STM32\u4e32\u53e3\u53d1\u9001\u63a7\u5236LED\u662f\u4e00\u79cd\u53ef\u4ee5\u901a\u8fc7STM32\u4e32\u53e3\u53d1\u9001\u6570\u636e\u63a7\u5236LED\u7684\u65b9\u5f0f\uff0c\u5b83\u53ef\u4ee5\u8ba9\u6211\u4eec<\/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":[287],"class_list":["post-44802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-stm32"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44802","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=44802"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44802\/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=44802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=44802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=44802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}