{"id":60939,"date":"2023-11-02T21:28:31","date_gmt":"2023-11-02T13:28:31","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=60939"},"modified":"2023-11-02T21:28:31","modified_gmt":"2023-11-02T13:28:31","slug":"slsdycdl","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/60939.html","title":{"rendered":"STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae"},"content":{"rendered":"

  STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\u662f\u4e00\u79cd\u7b80\u5355\u7684\u7535\u5b50\u6280\u672f\uff0c\u53ef\u4ee5\u8ba9\u4e00\u7ec4LED\u706f\u6309\u7167\u4e00\u5b9a\u987a\u5e8f\u4f9d\u6b21\u4eae\u8d77\u3002\u5b83\u662f\u7535\u5b50\u7231\u597d\u8005\u7ecf\u5e38\u4f7f\u7528\u7684\u4e00\u79cd\u6280\u672f\uff0c\u4e5f\u662f\u7535\u5b50\u5de5\u7a0b\u5e08\u4eec\u5e38\u7528\u7684\u4e00\u79cd\u8c03\u8bd5\u624b\u6bb5\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSTM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\u7684\u539f\u7406\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u529f\u80fd\u3002<\/p>\n

STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\u7684\u539f\u7406<\/h2>\n

  STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\u7684\u539f\u7406\u662f\u901a\u8fc7\u63a7\u5236LED\u706f\u7684\u5f00\u5173\u6765\u5b9e\u73b0\u7684\uff0c\u5373\u901a\u8fc7\u63a7\u5236LED\u706f\u7684\u7535\u6e90\uff0c\u6765\u63a7\u5236LED\u706f\u7684\u4eae\u706d\u3002\u5177\u4f53\u7684\u5b9e\u73b0\u65b9\u6cd5\u662f\uff0c\u5c06\u4e00\u7ec4LED\u706f\u8fde\u63a5\u5230\u4e00\u4e2aSTM32\u5355\u7247\u673a\u7684IO\u53e3\uff0c\u7136\u540e\u901a\u8fc7\u63a7\u5236IO\u53e3\u4e0a\u7684\u7535\u5e73\uff0c\u6765\u63a7\u5236LED\u706f\u7684\u4eae\u706d\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0cSTM32\u5355\u7247\u673a\u4f1a\u6309\u7167\u4e00\u5b9a\u7684\u987a\u5e8f\u4f9d\u6b21\u63a7\u5236LED\u706f\u7684\u4eae\u706d\uff0c\u4ece\u800c\u5f62\u6210\u4e00\u4e2a\u6d41\u6c34\u706f\u7684\u6548\u679c\u3002<\/p>\n

\u5982\u4f55\u4f7f\u7528STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae<\/h2>\n

  1.\u51c6\u5907\u5de5\u4f5c<\/h3>\n

  \u4f7f\u7528STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\uff0c\u9996\u5148\u9700\u8981\u51c6\u5907\u4e00\u5757STM32\u5355\u7247\u673a\uff0c\u4e00\u7ec4LED\u706f\uff0c\u4ee5\u53ca\u4e00\u4e9b\u8fde\u63a5\u7ebf\u3002\u7136\u540e\u5c06LED\u706f\u8fde\u63a5\u5230STM32\u5355\u7247\u673a\u7684IO\u53e3\u4e0a\uff0c\u786e\u4fdd\u8fde\u63a5\u7ebf\u7684\u63a5\u89e6\u826f\u597d\u3002<\/p>\n

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

  \u63a5\u4e0b\u6765\u5c31\u662f\u7f16\u5199\u7a0b\u5e8f\u4e86\uff0c\u5728\u7f16\u5199\u7a0b\u5e8f\u4e4b\u524d\uff0c\u9700\u8981\u5148\u719f\u6089STM32\u5355\u7247\u673a\u7684IO\u53e3\u7684\u529f\u80fd\uff0c\u4ee5\u53ca\u5982\u4f55\u63a7\u5236IO\u53e3\u4e0a\u7684\u7535\u5e73\u3002\u7136\u540e\uff0c\u6839\u636e\u5b9e\u9645\u9700\u8981\uff0c\u7f16\u5199\u7a0b\u5e8f\u6765\u63a7\u5236LED\u706f\u7684\u4eae\u706d\uff0c\u4ece\u800c\u5b9e\u73b0\u6d41\u6c34\u706f\u7684\u6548\u679c\u3002<\/p>\n

  3.\u70e7\u5f55\u7a0b\u5e8f<\/h3>\n

  \u6700\u540e\uff0c\u5c06\u7f16\u5199\u597d\u7684\u7a0b\u5e8f\u70e7\u5f55\u5230STM32\u5355\u7247\u673a\u4e0a\uff0c\u5373\u53ef\u5b9e\u73b0\u4e00\u4e2a\u6d41\u6c34\u706f\u7684\u6548\u679c\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u4ee5\u4e0a\u5c31\u662fSTM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\u7684\u539f\u7406\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u529f\u80fd\u7684\u4ecb\u7ecd\u3002<\/strong>STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\u662f\u4e00\u79cd\u7b80\u5355\u7684\u7535\u5b50\u6280\u672f\uff0c\u7528\u6765\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u529f\u80fd\uff0c\u4e5f\u662f\u7535\u5b50\u5de5\u7a0b\u5e08\u4eec\u5e38\u7528\u7684\u4e00\u79cd\u8c03\u8bd5\u624b\u6bb5\u3002\u5982\u679c\u60a8\u5bf9STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\u611f\u5174\u8da3\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u7528\u5b83\u6765\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u529f\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

STM32\u6d41\u6c34\u706f\u4f9d\u6b21\u70b9\u4eae\u662f\u4e00\u79cd\u7b80\u5355\u7684\u7535\u5b50\u6280\u672f\uff0c\u53ef\u4ee5\u8ba9\u4e00\u7ec4LED\u706f\u6309\u7167\u4e00\u5b9a\u987a\u5e8f\u4f9d\u6b21\u4eae\u8d77\u3002\u5b83\u662f\u7535\u5b50\u7231\u597d\u8005\u7ecf\u5e38\u4f7f\u7528\u7684\u4e00\u79cd\u6280\u672f\uff0c\u4e5f\u662f\u7535\u5b50\u5de5\u7a0b\u5e08\u4eec\u5e38\u7528\u7684\u4e00\u79cd\u8c03\u8bd5\u624b\u6bb5\u3002\u672c\u6587\u5c06\u4ecb\u7ecdST<\/p>\n","protected":false},"author":1,"featured_media":1839,"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-60939","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\/60939","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=60939"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/60939\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=60939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=60939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=60939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}