{"id":7236,"date":"2024-04-10T14:01:01","date_gmt":"2024-04-10T06:01:01","guid":{"rendered":""},"modified":"2024-04-10T14:01:01","modified_gmt":"2024-04-10T06:01:01","slug":"2021-07-28\u653e\u5f0351\u5355\u7247\u673a\uff0c\u76f4\u63a5\u5b66STM32\u7684\u5f00\u53d1\u4f1a\u6709\u4ec0\u4e48\u4e25\u91cd\u7684\u95ee\u9898\u4e48\uff1f","status":"publish","type":"post","link":"https:\/\/mushiming.com\/7236.html","title":{"rendered":"2021-07-28\u653e\u5f0351\u5355\u7247\u673a\uff0c\u76f4\u63a5\u5b66STM32\u7684\u5f00\u53d1\u4f1a\u6709\u4ec0\u4e48\u4e25\u91cd\u7684\u95ee\u9898\u4e48\uff1f"},"content":{"rendered":"<\/p>\n
\u6211\u8ba4\u4e3a\uff0c\u5bf9\u4e8e\u300c\u4e0d\u5b6651\u76f4\u63a5\u7528STM32\u5f00\u53d1\u300d\u8fd9\u4e2a\u95ee\u9898\uff0c\u8fd8\u5f97\u770b\u4e00\u4e2a\u54f2\u5b66\u95ee\u9898\uff1a\u300c\u4f60\u662f\u8c01\uff1f\u300d<\/p>\n<\/p>\n
\u5982\u679c\u4f60\u5c5e\u4e8e\u8fd9\u7c7b\uff0c51\u5355\u7247\u673a\u662f\u503c\u5f97\u4f5c\u4e3a\u5165\u95e8\u5b66\u4e60\u7684\uff01\u539f\u56e0\u6709\u51e0\u70b9\uff1a<\/p>\n
\u5176\u4e00\uff0c51\u662f\u76f8\u5173\u5927\u5b66\u4e13\u4e1a\u5fc5\u5b66\u8bfe\u7a0b<\/strong>\uff0c\u5176\u5b9e\u662f\u56e0\u4e3a\u5927\u90e8\u5206\u7684\u9ad8\u6821\u8001\u5e08\u53ea\u4f1a51\u4e86\uff1b<\/p>\n \u5176\u4e8c\uff0c51\u4e66\u7c4d\u591a\u8d44\u6599\u591a<\/strong>\uff0c\u540c\u7b2c\u4e00\u6761\u4e00\u6837\u662f\u56e0\u4e3a\u4e00\u4e9b\u5386\u53f2\u539f\u56e0\uff1b<\/p>\n \u5176\u4e09\uff0c51\u9ebb\u96c0\u867d\u5c0f\u4e94\u810f\u4ff1\u5168<\/strong>\uff0c\u7528\u6765\u5b66\u4e60\u662f\u4e0d\u9519\u7684\uff1b\u540c\u6837\uff0cAVR\u5355\u7247\u673a\u6216\u8005STM8\u7b49\u90fd\u53ef\u4ee5\u7528\u6765\u5165\u95e8\uff0c\u4f4651\u8fd8\u662f\u592a\u7ecf\u5178\u592a\u4e3b\u6d41\u4e86\uff1b<\/p>\n \u5176\u56db\uff0c\u5355\u7247\u673a\u4e07\u53d8\u4e0d\u79bb\u5176\u5b97\uff0c\u5b66\u901a51\u4e5f\u5c31\u4f1a\u7528\u5176\u4ed6\u5355\u7247\u673a\u4e86\uff08\u5176\u5b9e\u8fd9\u662f\u4e00\u4e2a\u7ecf\u9a8c\u7684\u95ee\u9898\uff09\u3002<\/p>\n<\/p>\n \u5f88\u591a\u7b54\u4e3b\u90fd\u662f\u5728\u4e09\u3001\u56db\u70b9\u4e0a\u8bb2\u4e86\u5f88\u591a\u7ec6\u8282\u5316\u3002\u6211\u4e0b\u9762\u4e5f\u7a0d\u5fae\u5199\u4e00\u70b9\uff1a<\/p>\n \u56e0\u6b64\uff0c\u611f\u89c9\u81ea\u5df1\u73a951\u73a9\u5f97\u5dee\u4e0d\u591a\u7684\u65f6\u5019\uff0c\u5c31\u6ca1\u5fc5\u8981\u572851\u4e0a\u7ee7\u7eed\u7814\u7a76\u4e86\uff0c\u53ef\u4ee5\u8d70\u4e0aSTM32\u7684\u9053\u8def\u3002<\/u>\u90a3\u65e2\u7136\u6700\u540e\u90fd\u8981\u4e0aSTM\uff0c\u4e3a\u4ec0\u4e48\u6211\u8fd8\u662f\u63a8\u835051\u4f5c\u4e3a\u5165\u95e8\u5b66\u4e60\u5462\uff1f\u56e0\u4e3a51\u5355\u7247\u673a\u5c4f\u853d\u4e86\u5f88\u591a\u9ad8\u7ea7\u7ec6\u8282\u5374\u4e5f\u8db3\u591f\u5168\u9762\uff0c\u6b63\u5982\u6211\u524d\u9762\u7b2c\u4e09\u70b9\uff1a\u9ebb\u96c0\u867d\u5c0f\u4e94\u810f\u4ff1\u5168<\/strong>\u3002\u628a\u9ebb\u96c0\u7814\u7a76\u900f\u4e86\u518d\u770b\u5176\u4ed6\u9e1f\u7c7b\u4e0d\u90fd\u662f\u4e00\u4e2a\u9e1f\u6837\u5417\uff1f\u53ea\u4e0d\u8fc7\u8fd9\u53ea\u9e1f\u5634\u957f\u90a3\u53ea\u9e1f\u811a\u957f\u561b\u3002<\/p>\n<\/p>\n \u6bd4\u5982\u9898\u4e3b\u7684\u60c5\u51b5\u53ef\u80fd\u5c31\u662f\u5c5e\u4e8e\u8fd9\u4e00\u7c7b\u3002\u800c\u51e1\u4e8b\u90fd\u6709\u4e24\u9762\u6027\u7684\uff0c\u6211\u8fd9\u91cc\u7ed9\u7684\u5efa\u8bae\u5c31\u662f\uff1a\u4e0d\u5b6651\u662f\u5b8c\u5168\u6ca1\u6709\u95ee\u9898\u7684\uff01\u751a\u81f3\u4e0d\u7528C\u8bed\u8a00\u5f00\u53d1\u90fd\u53ef\u4ee5\u4e86\uff01<\/strong><\/p>\n<\/p>\n \u4e0d\u752851\/STM32\uff0c\u90a3\u7528\u4ec0\u4e48\u5462\uff1f\u4e24\u7c7b\u5e73\u53f0\uff1aArduino<\/strong>\u548cRaspberry pi\uff08\u6811\u8393\u6d3e\uff09<\/strong>\u3002<\/p>\n Arduino\u53ea\u9700\u8981\u5b66\u4e60\u4e00\u70b9\u70b9C\u8bed\u8a00\u5c31\u53ef\u4ee5\u73a9\u5404\u79cd\u786c\u4ef6\uff0c\u5982\u679c\u6709\u7f16\u7a0b\u57fa\u7840\u90a3\u4e48\u4e0a\u624b\u5c31\u975e\u5e38\u5feb\u4e86\uff01\u5bf9\u6bd4\u65b0\u624b\u4f7f\u752851\u70b9\u4eae\u4e00\u4e2aLED\u706f\u53ef\u80fd\u8981\u534a\u5929\u65f6\u95f4\uff0c\u800cArduino\u53ef\u80fd\u53ea\u9700\u8981\u4e94\u5206\u949f\uff1f\u4e3a\u4ec0\u4e48\u5462\uff1f\u4e00\u4e2a\u539f\u56e0\u662fArduino\u5e73\u53f0\u628a\u80fd\u5c01\u88c5\u7684\u90fd\u5c01\u88c5\u597d\u4e86<\/strong>\uff01\u5f00\u53d1\u8005\u53ea\u7ba1\u8c03\u7528\u76f8\u5e94\u7684\u63a5\u53e3\u5373\u53ef\uff0c\u800c\u4f7f\u752851\u6216STM32\u7684\u539f\u5382IDE\u53ef\u80fd\u8fd8\u9700\u8981\u67e5\u627e\u534a\u5929\u8d44\u6599\u3002<\/p>\n<\/p>\n \u7136\u540e\u662f\u6811\u8393\u6d3e\uff0c\u6811\u8393\u6d3e\u5df2\u7ecf\u4e0d\u7b97\u662f\u5355\u7247\u673a\u5f00\u53d1\u4e86\u800c\u5e94\u8be5\u5f52\u7c7b\u4e8eLinux\u5e94\u7528\u5f00\u53d1\u4e86\u3002\u4e0d\u9650\u5236\u4e8eC\u8bed\u8a00\uff0cPython\u3001JavaScript\u3001Lua\u3001PHP\u7b49\u811a\u672c\u8bed\u8a00\u90fd\u53ef\u4ee5\u7528\u3002<\/p>\n<\/p>\n \u90a3\u524d\u9762\u6240\u8bf4\u7684\u4e0d\u7528C\u8bed\u8a00\u5f00\u53d1<\/strong>\u5c31\u662f\u6307\u5728\u6811\u8393\u6d3e\u4e0a\u5f00\u53d1\u5417\uff1f\u80af\u5b9a\u4e0d\u662f\u4e86\uff01\u5bf9\u4e8e\u5404\u7c7b\u5fae\u63a7\u5236\u5668\u5df2\u7ecf\u6709\u811a\u672c\u8bed\u8a00\u5f00\u59cb\u8fdb\u519b\u4e86\uff0c\u6bd4\u5982MircoPython\u3002MircoPython<\/strong>\u5c31\u662f\u53ef\u8fd0\u884c\u5728\u5355\u7247\u673a\u4e0a\u7684Python3\u811a\u672c\u8bed\u8a00\uff0c\u53ef\u4ee5\u7528Python\u5bf9\u5355\u7247\u673a\u8fdb\u884c\u5404\u79cd\u64cd\u4f5c\u7b49\u7b49\u3002\u5f53\u7136\u8fd8\u6709\u7279\u522bself-important\uff08\u201c\u4efb\u4f55\u53ef\u4ee5\u4f7f\u7528JavaScript\u6765\u7f16\u5199\u7684\u5e94\u7528\uff0c\u6700\u7ec8\u4f1a\u7531JavaScript\u7f16\u5199\u3002\u201d\uff09\u7684JavaScript\u4e5f\u6709\u7c7b\u4f3c\u7684\u5e73\u53f0Espruino<\/strong>\u3002<\/p>\n<\/p>\n \u5982\u679c\u662f\u4f5c\u4e3a\u4e00\u4e2aWeb\u5de5\u7a0b\u5e08\uff0c\u80fd\u7528Python\u6216JS\u8fdb\u884c\u5355\u7247\u673a\u5f00\u53d1\u5e72\u561b\u975e\u8981\u7528C\u8bed\u8a00\u5462\uff1f\u5bf9\u5427\uff1f\u53ea\u662f\u4f5c\u4e3a\u4e00\u79cd\u4e1a\u4f59\u7231\u597d\u5e73\u65f6\u73a9\u73a9\u800c\u5df2\uff0c\u771f\u7684\u6ca1\u6709\u5fc5\u8981\u518d\u53bb\u5b66\u4e6051\u6216STM32\u5355\u7247\u673a\u7684C\u8bed\u8a00\u5f00\u53d1\uff0c \u800c\u4e14MicroPython\u548cEspruino\u90fd\u652f\u6301STM32\u4e86\u3002<\/p>\n<\/p>\n \u4f46\u662f\uff01<\/strong>\u4efb\u4f55\u4e00\u4e2a\u7535\u5b50\u4e13\u4e1a\u51fa\u8eab\u7684\u4eba\u90fd\u5e94\u8be5\u80fd\u610f\u8bc6\u5230\uff01\u50cf\u8fd9\u7c7b\u5fae\u63a7\u5236\u5668\u811a\u672c\u8bed\u8a00\u5e73\u53f0\uff0c\u672c\u8eab\u80af\u5b9a\u6709\u5f88\u5927\u7684\u5c40\u9650\u6027\uff01\u9996\u5148\u662f\u6027\u80fd\u95ee\u9898<\/strong>\uff0c\u5728\u5355\u7247\u673a\u4e0a\u80fd\u811a\u672c\u8bed\u8a00\u80af\u5b9a\u8981\u6709\u4e00\u4e2a\u811a\u672c\u89e3\u6790\u5668\uff0c\u8fd9\u80af\u5b9a\u662f\u7528C\u8bed\u8a00\u7f16\u5199\u7684\u4e86\uff0c\u90a3\u4e48C\u8bed\u8a00\u8fd0\u884c\u811a\u672c\u89e3\u6790\u5668\uff0c\u811a\u672c\u89e3\u6790\u5668\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u6700\u540e\u51fa\u6765\u7684\u6548\u679c\u80af\u5b9a\u6162\u4e86\u5f88\u591a\uff01\u5f53\u7136\u5982\u679c\u5355\u7247\u673a\u6027\u80fd\u8db3\u591f\u53ef\u80fd\u770b\u4e0d\u51fa\u4ec0\u4e48\u3002\u7136\u540e\u5c31\u662f\u63a5\u53e3\u95ee\u9898<\/strong>\u3002\u56e0\u4e3a\u6211\u4eec\u662f\u7528\u811a\u672c\u6765\u63a7\u5236\u5355\u7247\u673a\uff0c\u5982\u679c\u5e95\u5c42\u89e3\u6790\u5668\u6ca1\u6709\u628a\u4e00\u4e9b\u5bc4\u5b58\u5668\u7684\u914d\u7f6e\u5f15\u51fa\u6765\uff0c\u6211\u4eec\u5c31\u6ca1\u6cd5\u505a\u4e00\u4e9b\u4e8b\u60c5\uff0c\u6bd4\u5982\u8bf4\u5982\u679c\u5e95\u5c42\u89e3\u6790\u5668\u4e0d\u63d0\u4f9b\u4f11\u7720\u63a5\u53e3\uff0c\u6211\u4eec\u5c31\u6ca1\u6cd5\u5bf9\u5355\u7247\u673a\u8fdb\u884c\u4f11\u7720\uff0c\u90a3\u5c31\u6ca1\u6cd5\u66f4\u4f4e\u529f\u8017\u8fd0\u884c\u4e86\u3002\u6700\u540e\uff0c\u5c31\u662f\u9650\u5b9a\u677f\u5b50\u5bfc\u81f4\u7684\u6210\u672c\u95ee\u9898<\/strong>\uff0c\u76ee\u524d\u6765\u770b\uff0c\u6240\u6709\u7684\u811a\u672c\u8bed\u8a00\u80af\u5b9a\u6ca1\u6cd5\u90fd\u652f\u6301\u5168\u90e8\u5fae\u63a7\u5236\u5668\uff0c\u5c24\u5176\u662f\u66f4\u4f4e\u914d\u7f6e\u7684\u5fae\u63a7\u5236\u5668\uff0c\u4f4e\u7aef\u5355\u7247\u673a\u6709\u4e00\u4e2a\u597d\u5904\u5c31\u662f\u6210\u672c\u4f4e\u5ec9\uff1a\u80fd\u7528STM32\u8fdb\u884cLED\u6d41\u6c34\u706f\u63a7\u5236\u5c31\u6ca1\u5fc5\u8981\u7528\u6811\u8393\u6d3e\uff0c\u80fd\u752851\u5355\u7247\u673a\u5c31\u6ca1\u5fc5\u8981\u7528STM32\uff0c\u80fd\u7528555\u65f6\u57fa\u7535\u8def\u5c31\u6ca1\u5fc5\u8981\u4e0a51\u5355\u7247\u673a\u4e86\uff0c\u80fd\u7528\u5206\u7acb\u5143\u4ef6\u5c31\u6ca1\u5fc5\u8981\u7528\u82af\u7247\uff01\uff08\u76ae\uff09<\/p>\n<\/p>\n \u90a3\u5c31\u5e94\u8be5\u62b5\u89e6\u8fd9\u7c7b\u4e1c\u897f\u5417\uff1f\u8bf4\u771f\u7684\u6211\u5185\u5fc3\u662f\u6709\u70b9\u62b5\u89e6\u7684\uff0c\u6211\u62b5\u89e6\u4e0d\u4ee3\u8868\u6211\u62d2\u7edd\u4e86\u89e3\uff0c\u540e\u6765\u7b80\u5355\u73a9\u4e86\u8fd9\u4e9b\u4e1c\u897f\uff0c\u611f\u89c9\u5f00\u53d1\u771f\u7684\u4e0d\u8981\u592a\u65b9\u4fbf\u4e86\uff01\u5206\u5206\u949f\u5c31\u80fd\u505a\u51fa\u4e00\u4e2a\u81ea\u5df1\u60f3\u8981\u4ea7\u54c1\u539f\u578b\uff0c\u7136\u540e\u5c41\u98a0\u5c41\u98a0\u5730\u53bb\u5c55\u793a\u7ed9\u5176\u4ed6\u4eba\u770b\uff0c\u6536\u5230\u8bb8\u591a\u5d07\u62dc\u7684\u661f\u661f\u773c\u3002\u53ef\u662f\uff01\u5982\u679c\u8981\u7ee7\u7eed\u6df1\u5165\u5f00\u53d1\u751a\u81f3\u6253\u7b97\u505a\u51fa\u53ef\u7528\u7684\u4ea7\u54c1\uff0c\u4f1a\u611f\u5230\u975e\u5e38\u529b\u4e0d\u4ece\u5fc3\u3002<\/p>\n<\/p>\n \u6240\u4ee5\uff0c\u5728\u6211\u773c\u4e2d\u8fd9\u7c7b\u4e1c\u897f\u548cArduino\u53ca\u6811\u8393\u6d3e\u4e00\u6837\uff0c\u90fd\u53ea\u662f\u300c\u73a9\u5177\u300d\u800c\u5df2\u3002\u6211\u7684\u5f00\u53d1\u539f\u5219\u8fd8\u662f\uff0c\u80fd\u7528\u539f\u5382IDE\u7684\u5c31\u575a\u51b3\u4e0d\u7528\u7b2c\u4e09\u65b9IDE\uff0c\u80fd\u7528C\u8bed\u8a00\u7684\u5c31\u4e0d\u4e0a\u811a\u672c\u8bed\u8a00\u3002<\/u><\/p>\n<\/p>\n \u5f53\u7136\u4e86\uff0c\u4e0a\u9762\u8fd9\u4e00\u8282\u662f\u300c\u4e0d\u5b6651\u5355\u7247\u673a\u76f4\u63a5\u5b66STM32\u300d\u8fd9\u8bdd\u9898\u884d\u751f\u51fa\u6765\u7684\u300c\u5355\u7247\u673a\u7528\u811a\u672c\u8bed\u8a00\u5f00\u53d1\u597d\u4e0d\u597d\u300d\uff0c\u5176\u5b9e\u90fd\u6307\u5411\u6211\u60f3\u8868\u8fbe\u7684\u4e00\u4e2a\u4e3b\u65e8\uff1a\u6d6e\u4e8e\u8868\u9762\u7684\u5b66\u4e60\u662f\u63a5\u89e6\u4e0d\u5230\u6838\u5fc3\u7684\u4e1c\u897f\u7684\uff0c\u63a5\u89e6\u4e0d\u5230\u6838\u5fc3\u77e5\u8bc6\u800c\u79ef\u7d2f\u4e0b\u6765\u7684\u90a3\u4e9b\u7ecf\u9a8c\uff0c\u6362\u4e00\u4e2a\u73af\u5883\u5c31\u61f5\u61f5\u61c2\u61c2\u4e0d\u77e5\u6240\u4e91<\/strong>\u3002<\/u>\u867d\u7136\u90fd\u662f\u4f7f\u7528JavaScript\u8bed\u8a00\uff0c\u4f46\u8fd8\u771f\u89c9\u5f97\u524d\u7aef\u77e5\u8bc6\u548cEspruino\u5e73\u53f0\u5f00\u53d1\u6240\u9700\u77e5\u8bc6\u662f\u5b8c\u5168\u4e00\u6837\u7684\uff1f<\/p>\n \u5bf9\u4e8e\u9898\u4e3b\u7684\u60c5\u51b5\uff08\u4e0d\u77e5\u9053\u76ee\u524d\u662f\u4ec0\u4e48\u60c5\u51b5\u4e86\uff09\uff0c\u76ee\u6807\u662f\u60f3\u505a\u81ea\u5e73\u8861\u5c0f\u8f66\u6216\u8005\u98de\u884c\u5668\u8fd9\u6837\u597d\u73a9\u7684\u4e1c\u897f\uff0c\u6216\u6709\u7c7b\u4f3c\u60c5\u51b5\u7684\u8bfb\u8005\uff0c\u90a3\u4e48\u6211\u7684\u5efa\u8bae\u5c31\u662f\uff1a\u5728\u6709\u4e00\u5b9a\u7684\u5355\u7247\u673a\u53d1\u57fa\u7840\u4e4b\u540e\uff0c\u4e0a\u6dd8\u5b9d\u8d2d\u4e70\u76f8\u5173\u7684\u5b66\u4e60\u5957\u4ef6<\/strong><\/u>\uff0c\u81f3\u4e8e\u8fd9\u4e2a\u5355\u7247\u673a\u53d1\u57fa\u7840<\/strong>\uff0c\u5bf9\u4e8e\u4e1a\u4f59\u7231\u597d\u8005\u6765\u8bf4\u662f\u4ece51\u5f00\u59cb\u8fd8\u662f\u4eceSTM32\u5f00\u59cb\uff0c\u95ee\u9898\u771f\u7684\u4e0d\u5927\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"2021-07-28\u653e\u5f0351\u5355\u7247\u673a\uff0c\u76f4\u63a5\u5b66STM32\u7684\u5f00\u53d1\u4f1a\u6709\u4ec0\u4e48\u4e25\u91cd\u7684\u95ee\u9898\u4e48\uff1f\u6211\u8ba4\u4e3a\uff0c\u5bf9\u4e8e\u300c\u4e0d\u5b6651\u76f4\u63a5\u7528STM32\u5f00\u53d1\u300d\u8fd9\u4e2a\u95ee\u9898\uff0c\u8fd8\u5f97\u770b...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/7236"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=7236"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/7236\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=7236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=7236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=7236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
\u5982\u679c\u4f60\u53ea\u662f\u4e1a\u4f59\u7231\u597d\u8005\uff0c\u60f3\u505a\u70b9\u4e1c\u897f\u81ea\u5df1\u73a9<\/h3>\n
\n