{"id":3113,"date":"2022-10-13T18:07:26","date_gmt":"2022-10-13T18:07:26","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=3113"},"modified":"2023-11-08T16:17:20","modified_gmt":"2023-11-08T16:17:20","slug":"what-programming-language-should-you-use-with-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/zh\/%e4%bd%a0%e5%ba%94%e8%af%a5%e7%94%a8%e4%bb%80%e4%b9%88%e7%bc%96%e7%a8%8b%e8%af%ad%e8%a8%80%e6%9d%a5%e4%bd%bf%e7%94%a8%e6%a0%91%e8%8e%93%e6%b4%be%ef%bc%9f\/","title":{"rendered":"\u60a8\u5e94\u8be5\u4e3a Raspberry Pi \u4f7f\u7528\u54ea\u79cd\u7f16\u7a0b\u8bed\u8a00\uff1f"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2-1024x576.jpg\" alt=\"\u6811\u8393\u6d3e\u7f16\u7a0b\u8bed\u8a00 \u6807\u9898\u56fe\u7247\" class=\"wp-image-3164\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2-1024x576.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2-300x169.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2-768x432.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2-1536x864.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2-18x10.jpg 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2.jpg 1778w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u5982\u679c\u4f60\u662fRaspberry Pi\u7684\u65b0\u624b\uff0c\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u81ea\u5df1\u5904\u4e8e\u9009\u62e9\u5b66\u4e60\u7f16\u7a0b\u8bed\u8a00\u7684\u5341\u5b57\u8def\u53e3\u3002<\/p>\n\n\n\n<p>\u6709\u8fd9\u4e48\u591a\u7684\u8bed\u8a00\uff0c\u4f60\u51b3\u5b9a\u5b66\u4e60\u4ec0\u4e48\u5c06\u5bf9\u4f60\u80fd\u505a\u4ec0\u4e48\u4ea7\u751f\u6df1\u8fdc\u7684\u5f71\u54cd\u3002\u56e0\u6b64\uff0c\u8ba9\u6211\u4eec\u6765\u770b\u770b\u4f60\u53ef\u4ee5\u7528Raspberry Pi\u4f7f\u7528\u7684\u8bed\u8a00\u3002<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">\u5728Raspberry Pi\u4e0a\u9884\u88c5\u8bed\u8a00<\/h2>\n\n\n\n<p>\u4e5f\u8bb8\u4f60\u80fd\u4eceRaspberry Pi\u8eab\u4e0a\u5f97\u5230\u7684\u6700\u5927\u63d0\u793a\u662f\u9884\u88c5\u5728Raspberry Pi\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u8bed\u8a00\u3002<\/p>\n\n\n\n<p>\u5728\u6bcf\u6b21\u5b89\u88c5\u65f6\uff0c\u4f60\u90fd\u4f1a\u9884\u88c5Python\u3001Scratch\u548cC\u6216C++\u3002<\/p>\n\n\n\n<p>\u56e0\u6b64\uff0c\u8ba9\u6211\u4eec\u5148\u6765\u770b\u770b\u8fd9\u4e09\u79cd\u8bed\u8a00\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python\uff1a\u7528\u4e8e\u6811\u8393\u6d3e\u7684\u4f1f\u5927\u901a\u7528\u8bed\u8a00<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"592\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/02\/pi-dht22-4-1024x592.jpg\" alt=\"pi dht22\" class=\"wp-image-1838\" style=\"width:711px;height:411px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/02\/pi-dht22-4-1024x592.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/02\/pi-dht22-4-300x173.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/02\/pi-dht22-4-768x444.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/02\/pi-dht22-4-18x10.jpg 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/02\/pi-dht22-4.jpg 1299w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">\u7528Thonny\u7f16\u5199\u7684Python\u4ee3\u7801<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u4f18\u70b9\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6613\u4e8e\u5b66\u4e60<\/li>\n\n\n\n<li>\u5927\u91cf\u7684\u7ec4\u4ef6\u5e93<\/li>\n\n\n\n<li>\u6709\u5f88\u591a\u5f88\u597d\u7684\u6559\u7a0b\u53ef\u4ee5\u8ba9\u4f60\u5feb\u901f\u4e0a\u624b<\/li>\n\n\n\n<li>\u53ef\u4ee5\u5728Raspberry Pi\u5fae\u578b\u8ba1\u7b97\u673a\u548cPico\u7cfb\u5217\u4e0a\u4f7f\u7528<\/li>\n<\/ul>\n\n\n\n<p>\u5f0a\u7aef\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e0d\u9002\u5408\u7f51\u7ad9\u5f00\u53d1\uff08\u7279\u522b\u662f\u524d\u7aef\uff09\u3002<\/li>\n\n\n\n<li>\u6bd4C\u6216C++\u6162 <\/li>\n<\/ul>\n\n\n\n<p>\u5982\u679c\u4f60\u662f\u4ece\u96f6\u5f00\u59cb\uff0c\u90a3\u4e48Python\u53ef\u80fd\u662f\u4f60\u6700\u5feb\u901f\u548c\u6700\u6709\u6548\u7684\u5165\u95e8\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p>\u9996\u5148\uff0cPython\u662f\u6bd4\u8f83\u5bb9\u6613\u638c\u63e1\u7684\u8bed\u8a00\u4e4b\u4e00\u3002<\/p>\n\n\n\n<p>\u53e6\u4e00\u4e2a\u539f\u56e0\u662f\uff0c\u6709\u5f88\u591a\u7528Python\u7f16\u5199\u7684\u7528\u4e8e\u5404\u79cd\u4f20\u611f\u5668\u548c\u7ec4\u4ef6\u7684\u5e93\u3002  \u56e0\u6b64\uff0c\u5927\u91cf\u7684\u6559\u7a0b\u548c\u9879\u76ee\u7684\u811a\u672c\u90fd\u4f1a\u7528Python\u7f16\u5199\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u4f60\u8981\u4f7f\u7528\u53e6\u4e00\u79cd\u8bed\u8a00\uff0c\u4f8b\u5982JavaScript\uff08\u901a\u8fc7NodeJS\uff09\uff0c\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u81ea\u5df1\u88ab\u5361\u4f4f\u4e86\uff0c\u6ca1\u6709\u4e00\u4e2a\u666e\u901a\u4f20\u611f\u5668\u7684\u5e93\u3002<\/p>\n\n\n\n<p>\u6700\u540e\uff0c\u5b66\u4e60Python\u5c06\u5e2e\u52a9\u4f60\u4e0eRaspberry Pi\u9635\u5bb9\u4e2d\u7684\u6240\u6709\u677f\u5b50\u4e92\u52a8\u3002\u4f60\u53ef\u4ee5\u4e3aRaspberry Pi 4\u4ee5\u53caRaspberry Pi Pico\u521b\u5efa\u9879\u76ee\u3002 <\/p>\n\n\n\n<p>Raspberry Pi\u7684\u5236\u9020\u5546\u4e5f\u8ba9\u4f60\u5f88\u5bb9\u6613\u7528Python\u6784\u5efa\u9879\u76ee\u3002\u9996\u5148\uff0c\u6240\u6709\u7684Raspberry Pi\u5fae\u578b\u8ba1\u7b97\u673a\uff08\u4f8b\u5982Pi 4\uff09\u90fd\u914d\u6709Thonny\uff0c\u8fd9\u662f\u4e00\u4e2aPython IDE\uff0c\u800c\u4e14\u6240\u6709\u7684Raspberry Pi Picos\u90fd\u4f1a\u9ed8\u8ba4\u8bfb\u53d6MicroPython\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Thonny\u4f7fPython\u5728Raspberry Pi\u4e0a\u53d8\u5f97\u5bb9\u6613\u3002<\/h3>\n\n\n\n<p>Raspberry Pi\u64cd\u4f5c\u7cfb\u7edf\u8fd8\u9884\u88c5\u4e86Thonny\uff0c\u5b83\u4f7f\u8fd0\u884cPython\u811a\u672c\u53d8\u5f97\u975e\u5e38\u5bb9\u6613\u3002<\/p>\n\n\n\n<p>Thonny\u4f7fPython\u7f16\u7a0b\u53d8\u5f97\u7b80\u5355\uff0c\u56e0\u4e3a\u4f60\u53ef\u4ee5\u901a\u8fc7\u6309IDE\u4e2d\u7684 \"RUN \"\u6216 \"STOP \"\u6309\u94ae\u8f7b\u677e\u542f\u52a8\u548c\u505c\u6b62\u811a\u672c\u3002<\/p>\n\n\n\n<p>\u800c\u5982\u679c\u4f60\u4f7f\u7528\u53e6\u4e00\u4e2a\u7f16\u8f91\u5668\uff0c\u4f60\u53ef\u80fd\u8981\u628a\u811a\u672c\u8f93\u5165\u5230\u7ec8\u7aef\u624d\u80fd\u8fd0\u884c\u5b83\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7528\u4e8e\u6811\u8393\u6d3ePico\u7684MicroPython<\/h3>\n\n\n\n<p>\u5982\u679c\u4f60\u60f3\u4f7f\u7528Raspberry Pi Pico\uff0c\u5b66\u4e60Python\u7279\u522b\u6709\u7528\u3002<\/p>\n\n\n\n<p>\u4e0eRaspberry Pi\u5fae\u578b\u8ba1\u7b97\u673a\u4e0d\u540c\uff0cRaspberry Pi Pico\u9ed8\u8ba4\u53ea\u63a5\u53d7\u4e09\u79cd\u8bed\u8a00\u3002C\u6216C++\u548cMicroPython\u3002<\/p>\n\n\n\n<p>\u8fd9\u610f\u5473\u7740\uff0c\u5982\u679c\u4f60\u5df2\u7ecf\u5b66\u4f1a\u4e86Python\uff0c\u4f60\u5c06\u80fd\u591f\u8fc7\u6e21\u5230\u7f16\u5199MicroPython\uff0c\u56e0\u4e3a\u8bed\u6cd5\u662f\u4e00\u6837\u7684\u3002<\/p>\n\n\n\n<p>Python\u548cMicroPython\u7684\u4e3b\u8981\u533a\u522b\u662f\u540e\u8005\u6709\u4e00\u4e2a\u8f83\u5c0f\u7684\u6807\u51c6\u5e93\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5faa\u73af\u5668\uff08CircuitPython<\/h3>\n\n\n\n<p>\u9664\u4e86MicroPython\u4e4b\u5916\uff0cCircuitPython\u662f\u53e6\u4e00\u79cdPython\u884d\u751f\u7269\uff0c\u5728Raspberry Pi Pico\u4e2d\u4f7f\u7528\u3002CircuitPython\u662f\u7531Adafruit\u521b\u5efa\u7684\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5bf9\u4e8eRaspberry Pi\u7528\u6237\u6765\u8bf4\uff0cPython\u662f\u4e00\u79cd\u597d\u7684\u8bed\u8a00\u5417\uff1f<\/h3>\n\n\n\n<p>\u662f\u7684\u3002\u7edd\u5bf9\u7684\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u4f60\u60f3\u4e3aRaspberry Pi\u5efa\u7acb\u9879\u76ee\uff0c\u4f60\u80af\u5b9a\u9700\u8981\u4e86\u89e3Python\u3002<\/p>\n\n\n\n<p>\u6211\u662f\u7528JavaScript\u5f00\u59cb\u6211\u7684\u7f16\u7a0b\u4e4b\u65c5\u7684\u3002\u5728Raspberry Pi\u9886\u57df\u4e4b\u5916\uff0cJavaScript\u662f\u4e00\u79cd\u975e\u5e38\u6709\u6548\u7684\u8bed\u8a00\uff0c\u56e0\u4e3a\u4f60\u53ef\u4ee5\u521b\u5efa\u7a0b\u5e8f\u548c\u7f51\u7ad9\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-8.png\" alt=\"\u4e00\u4e2a\u56db\u4f4d\u6570\u65f6\u949f \" class=\"wp-image-3116\" style=\"width:656px;height:492px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-8.png 800w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-8-300x225.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-8-768x576.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-8-16x12.png 16w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">\u4e00\u4e2a\u56db\u4f4d\u6570\u7684\u4e03\u6bb5\u5f0f\u663e\u793a\u5668<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u7136\u800c\uff0c\u6709\u4e00\u5929\uff0c\u6211\u5fc5\u987b\u4e3a\u4e00\u4e2a\u4e03\u6bb5\u5f0f\u663e\u793a\u5668\u521b\u5efa\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u800c\u5728JavaScript\u4e2d\u5374\u6ca1\u6709\u529e\u6cd5\u505a\u5230\u8fd9\u4e00\u70b9\u3002 <\/p>\n\n\n\n<p>\u6211\u5728\u7f51\u4e0a\u627e\u5230\u4e00\u4e2a\u811a\u672c\uff0c\u4f46\u5b83\u662f\u7528Python\u7f16\u5199\u7684\uff0c\u8fd9\u4f7f\u6211\u8d70\u4e0a\u4e86\u5b66\u4e60Python\u7684\u9053\u8def\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u4f60\u60f3\u7528\u6700\u6709\u6548\u3001\u6700\u5feb\u901f\u548c\u6700\u7b80\u5355\u7684\u65b9\u5f0f\u6765\u6784\u5efaRaspberry Pi\u9879\u76ee\uff0c\u90a3\u4e48\u5b66\u4e60Python\u5c31\u662f\u6700\u597d\u7684\u529e\u6cd5\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u54ea\u91cc\u53ef\u4ee5\u5b66\u4e60Python\u7528\u4e8eRaspberry Pi\u7f16\u7a0b<\/h3>\n\n\n\n<p><strong>\u5b66\u4e60\u9014\u5f84<\/strong> - \u8fd9\u4e9b\u8d44\u6e90\u6c47\u7f16\u4e86\u4f60\u53ef\u4ee5\u5b66\u4e60Python\u7279\u5b9a\u90e8\u5206\u7684\u94fe\u63a5\u3002\u5b83\u4eec\u662f\u4e00\u822c\u7684\u5b66\u4e60\u9014\u5f84\uff0c\u800c\u4e0d\u662f\u4e13\u95e8\u9488\u5bf9Raspberry Pi\u7684\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/maps.joindeltaacademy.com\/maps\/PythonCurriculum\">\u674e\u5c14\u5c3c<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/roadmap.sh\/python\">\u8def\u7ebf\u56fe<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/cs50.harvard.edu\/python\/2022\/\">\u54c8\u4f5b\u5927\u5b66\u5f00\u653e\u8bfe\u7a0b\uff08Harvard OpenCourseWare\uff09\u3002 <em>CS50\u7684Python\u7f16\u7a0b\u5165\u95e8<\/em><\/a><\/p>\n\n\n\n<p><strong>\u5f55\u50cf\u5e26<\/strong> <strong>\u89c6\u9891<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=YYXdXT2l-Gg&amp;list=PL-osiE80TeTskrapNbzXhwoFUiLCjGgY7\">Corey Schafer\u7684Python\u521d\u5b66\u6559\u7a0b\u64ad\u653e\u5217\u8868<\/a><\/p>\n\n\n\n<p><strong>\u6811\u8393\u6d3e\u4e13\u7528\u8bfe\u7a0b<\/strong> - \u8fd9\u4e9b\u8bfe\u7a0b\u662f\u4e3a\u521d\u5b66\u8005\u51c6\u5907\u7684<\/p>\n\n\n\n<p><a href=\"https:\/\/www.raspberrypi.org\/courses\/learn-python\">\u6811\u8393\u6d3e\u57fa\u91d1\u4f1a<\/a> - \u672c\u8bfe\u7a0b\u5c06\u8ba9\u4f60\u5bf9Python\u7f16\u7a0b\u6709\u4e00\u4e2a\u603b\u4f53\u7684\u4e86\u89e3\uff0c\u5b83\u6df1\u5165\u5230\u6e38\u620f\u7f16\u7a0b\u548c\u4e0e\u4f20\u611f\u5668\u548c\u7ec4\u4ef6\u7684\u4e92\u52a8\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/realpython.com\/python-raspberry-pi\/\">\u771f\u6b63\u7684Python<\/a>, <em><a href=\"https:\/\/realpython.com\/python-raspberry-pi\/\">\u5728\u6811\u8393\u6d3e\u4e0a\u7528Python\u6784\u5efa\u7269\u7406\u9879\u76ee<\/a><\/em> - \u8fd9\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u6307\u5357\uff0c\u9002\u5408\u90a3\u4e9b\u62e5\u6709\u4f20\u611f\u5668\u548c\u7ec4\u4ef6\u5957\u4ef6\uff0c\u5e76\u60f3\u6df1\u5165\u5b66\u4e60\u4e0eGPIO\u4e92\u52a8\u7684\u4ee3\u7801\u7684\u4eba\u3002\u4e0e\u4e00\u822c\u7684Python\u6559\u7a0b\u4e0d\u540c\uff0c\u8fd9\u4e9b\u6559\u7a0b\u5c06\u6559\u4f60\u5982\u4f55\u8fde\u63a5\u7b80\u5355\u7684\u4f20\u611f\u5668\uff0c\u4ee5\u53ca\u5982\u4f55\u7528Raspberry Pi 4\u4e0e\u5b83\u4eec\u4e92\u52a8\u3002 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7528\u4e8e\u6811\u8393\u6d3e\u7684Scratch<\/h2>\n\n\n\n<p>\u6211\u7684\u4e00\u4e2a\u670b\u53cb\u5411\u6211\u5c55\u793a\u4e86\u4ed6\u7528Raspberry Pi 4\u505a\u7684LED\u4ea4\u901a\u706f\u3002<\/p>\n\n\n\n<p>\u4ed6\u662f\u4e00\u4e2a\u9ad8\u7ea7\u5f00\u53d1\u4eba\u5458\uff0c\u5728Java\u548cJavaScript\u7f16\u7a0b\u65b9\u9762\u6709\u5f88\u591a\u77e5\u8bc6\uff0c\u6240\u4ee5\u6211\u671f\u5f85\u4ed6\u80fd\u7528\u67d0\u79cd\u7f16\u7a0b\u8bed\u8a00\u6765\u5199\u3002<\/p>\n\n\n\n<p>\u4f46\u662f\u6ca1\u6709...<\/p>\n\n\n\n<p>\u4ed6\u4f7f\u7528\u4e86Scratch\u3002<\/p>\n\n\n\n<p>\u4ec0\u4e48\uff1f<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u4e00\u4e2a\u8d44\u6df1\u8f6f\u4ef6\u4eba\u8981\u7528Scratch\uff1f<\/h3>\n\n\n\n<p>Scratch\u5c06\u81ea\u5df1\u63cf\u8ff0\u4e3a \"\u4e16\u754c\u4e0a\u6700\u5927\u7684\u513f\u7ae5\u7f16\u7801\u793e\u533a\u548c\u4e00\u79cd\u5177\u6709\u7b80\u5355\u89c6\u89c9\u754c\u9762\u7684\u7f16\u7801\u8bed\u8a00\uff0c\u4f7f\u5e74\u8f7b\u4eba\u80fd\u591f\u521b\u9020\u6570\u5b57\u6545\u4e8b\u3001\u6e38\u620f\u548c\u52a8\u753b\"\u3002<\/p>\n\n\n\n<p>\u6211\u7684\u670b\u53cb\u7edd\u5bf9\u4e0d\u662f\u4e00\u4e2a\u5b69\u5b50\u3002<\/p>\n\n\n\n<p>\u5f53\u6211\u95ee\u4ed6\u4e3a\u4ec0\u4e48\u65f6\uff0c\u4ed6\u7ed9\u4e86\u6211\u4e00\u4e2a\u50cfGit\u63d0\u4ea4\u4fe1\u606f\u4e00\u6837\u6709\u7528\u7684\u7b54\u6848\uff1a\"\u55ef\uff0c\u5b83\u7684\u7f16\u7a0b\u5f88\u7b80\u5355\"\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"667\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/scratch-raspberry-pi.jpg\" alt=\"\u6811\u8393\u6d3e\u5546\u5e97\u7684\u5212\u75d5\" class=\"wp-image-3138\" style=\"width:708px;height:472px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/scratch-raspberry-pi.jpg 1000w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/scratch-raspberry-pi-300x200.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/scratch-raspberry-pi-768x512.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/scratch-raspberry-pi-18x12.jpg 18w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n<\/div>\n\n\n<p>\u516c\u5e73\u5730\u8bf4\uff0c\u5f53\u6211\u8bbf\u95ee\u82f1\u56fd\u5251\u6865\u7684Raspberry Pi\u5546\u5e97\u65f6\uff0c\u4ed6\u4eec\u4e5f\u6709\u4e00\u53f0\u8fd0\u884cScratch\u7684Pi\u3002 <\/p>\n\n\n\n<p>\u6240\u4ee5\uff0c\u5b83\u4e00\u5b9a\u662f\u6709\u597d\u5904\u7684!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5bf9\u4e8eRaspberry Pi\u7528\u6237\u6765\u8bf4\uff0cScratch\u662f\u4e00\u79cd\u597d\u7684\u7f16\u7a0b\u8bed\u8a00\u5417\uff1f<\/h3>\n\n\n\n<p>\u6211\u60f3\uff0c\u8fd9\u5bf9\u6293\u7d27\u65f6\u95f4\u5b66\u4e60\u7f16\u7a0b\u662f\u6709\u597d\u5904\u7684\u3002<\/p>\n\n\n\n<p>Scratch\u7684\u6574\u4e2a\u524d\u63d0\u662f\u4f7f\u513f\u7ae5\u548c\u9752\u5c11\u5e74\u7684\u7f16\u7a0b\u53d8\u5f97\u7b80\u5355\u3002\u65af\u514b\u96f7\u5947\u5141\u8bb8\u4f60\u901a\u8fc7\u8fde\u63a5\u5757\u6765\u521b\u5efa\u7a0b\u5e8f\uff0c\u800c\u4e0d\u662f\u7f16\u5199\u62bd\u8c61\u7684\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>\u4e3a\u4e86\u7528Scratch\u95ea\u70c1\u4e00\u4e2aLED\uff0c\u4f60\u8981\u7ec4\u88c5\u8fd9\u4e9b\u5757\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/www.youtube.com\/watch?v=SigUCysYrNY\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"426\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-10.png\" alt=\"\u64e6\u4f24\" class=\"wp-image-3143\" style=\"width:652px;height:392px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-10.png 709w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-10-300x180.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-10-18x12.png 18w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><\/a><figcaption class=\"wp-element-caption\">\u6320\u75d2\u75d2\u7684\u987a\u5e8f\u6765\u95ea\u70c1LED\u3002\u7167\u7247\u6765\u81eaAaron Maurer\u7684YouTube\u3002<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u73b0\u5728\uff0c\u5c06\u5176\u4e0ePython\u811a\u672c\u4e2d\u7684LED\u95ea\u70c1\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code data-no-translation=\"\">import RPi.GPIO as GPIO \nfrom time import sleep \n\nGPIO.setmode(GPIO.BOARD)\nGPIO.setup(8, GPIO.OUT, initial=GPIO.LOW) \n\nwhile True: \n GPIO.output(8, GPIO.HIGH) \n sleep(1) \n GPIO.output(8, GPIO.LOW)\n sleep(1) <\/code><\/pre>\n\n\n\n<p>\u4e5f\u8bb8\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\u6709\u4e9b\u4eba\u559c\u6b22\u4f7f\u7528GUI\u800c\u4e0d\u662f\u547d\u4ee4\u884c\u7684\u539f\u56e0\u3002\u4e0e\u5176\u7528\u51e0\u4e2a\u56de\u8f66\u952e\u3001\u65b9\u5411\u952e\u548c\u5176\u4ed6\u6309\u952e\u6765\u6539\u53d8\u4e00\u4e2a\u53d8\u91cf\u7684\u503c\uff0c\u4e0d\u5982\u76f4\u63a5\u70b9\u51fb\u5e76\u9009\u62e9\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u7b80\u5355\u7684\u9879\u76ee\uff0c\u5b66\u4e60\u548c\u6559\u5b66\uff0cScratch\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u9009\u62e9\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Scratch for Raspberry Pi\u7684\u7f3a\u70b9<\/h3>\n\n\n\n<p>\u5982\u679c\u4f60\u9519\u8fc7\u4e86\u4e0a\u4e00\u8282\u4e2d\u7684\u53cc\u5173\u8bed\uff0c\u8fd9\u91cc\u518d\u6765\u4e00\u6b21\u3002\u5212\u75d5\u53ea\u5212\u51fa\u4e86\u8868\u9762\u3002<\/p>\n\n\n\n<p>\u4e0d\u53ef\u907f\u514d\u7684\u662f\uff0c\u4e00\u65e6\u4f60\u7684\u9879\u76ee\u53d8\u5f97\u66f4\u5927\uff0c\u4f60\u4f1a\u60f3\u4f7f\u7528\u4e00\u79cd\u66f4\u4e3b\u6d41\u7684\u8bed\u8a00\uff0c\u5982Python\u6216C\u6216C++\uff0c\u56e0\u4e3a\u4f60\u5c06\u80fd\u591f\u8bbf\u95ee\u7f51\u4e0a\u7684\u5927\u91cf\u4ee3\u7801\u3001\u5e93\u548c\u811a\u672c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b66\u4e60Scratch<\/h3>\n\n\n\n<p>\u5982\u679c\u4f60\u5bf9Scratch\u7684\u5de5\u4f5c\u65b9\u5f0f\u611f\u5230\u597d\u5947\uff0c\u4f60\u53ef\u4ee5\u5f88\u5feb\u611f\u53d7\u5230\u5b83\u7684 \"\u79ef\u6728 \"\u65b9\u6cd5\u662f\u5982\u4f55\u5de5\u4f5c\u7684 <a href=\"https:\/\/scratch.mit.edu\/projects\/editor\/?tutorial=getStarted\">\u5bf9\u5176\u5728\u7ebf\u73af\u5883\u3002<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"503\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-9-1024x503.png\" alt=\"Scratch IDE\" class=\"wp-image-3140\" style=\"width:696px;height:342px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-9-1024x503.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-9-300x147.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-9-768x377.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-9-1536x755.png 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-9-18x9.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-9.png 1917w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/projects.raspberrypi.org\/en\/projects?software[]=scratch\">Raspberry Pi\u6709\u4e00\u4e9bScratch\u8bfe\u7a0b<\/a>\u5305\u62ec\u6d89\u53ca\u786c\u4ef6\u5efa\u8bbe\u7684\u3002<\/li>\n\n\n\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=SigUCysYrNY\">Aaron Maurer\u5728YouTube\u4e0a\u6709\u4e00\u4e2a\u6559\u7a0b<\/a> \u5411\u4f60\u5c55\u793a\u5982\u4f55\u4f7f\u7528Scratch 3\u548c\u95ea\u70c1\u4e00\u4e2aLED\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u7528\u4e8eRaspberry Pi\u7684C\u6216C++\u8bed\u8a00<\/h2>\n\n\n\n<p>\u7ed9\u4e88\u4f60\u7ec8\u6781\u63a7\u5236\u7684\u7ec8\u6781\u7f16\u7a0b\u8bed\u8a00\u4e5f\u662f\u6700\u96be\u5b66\u4e60\u548c\u638c\u63e1\u7684\u8bed\u8a00\u4e4b\u4e00\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">C\u548cC++\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f<\/h3>\n\n\n\n<p>C++\u5728\u67d0\u79cd\u7a0b\u5ea6\u4e0a\u662fC\u8bed\u8a00\u7684\u6269\u5c55\u7248\u672c\uff0c\u5b83\u5305\u62ec\u5f88\u591a\u7279\u6027\uff0c\u5982\u539f\u751f\u8bbe\u8ba1\u7684\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u652f\u6301\u3002++\u662f\u5bf9C\u548cC++\u672c\u8eab\u4e2d\u8fd0\u7b97\u7b26\u53ef\u4ee5\u9012\u589e\u7684\u65b9\u5f0f\u7684\u53cc\u5173\u8bed\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u6709\u4e00\u4e2a\u53d8\u91cfcats\uff0c\u5e76\u60f3\u7ed9\u5b83\u589e\u52a0\u4e00\u4e2a\uff0c\u4f60\u53ef\u4ee5\u7b80\u5355\u5730\u5199cats++\u3002<\/p>\n\n\n\n<p>\u7279\u522b\u662fC++\u662f\u975e\u5e38\u52a8\u6001\u7684\uff0c\u4e0d\u65ad\u5f97\u5230\u66f4\u65b0\u3002\u5b83\u662f\u4e00\u79cd\u9700\u8981\u5b66\u4e60\u7684\u590d\u6742\u8bed\u8a00\u3002\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4\uff0cC\u8bed\u8a00\u53ef\u80fd\u662f\u4e00\u79cd\u66f4\u5408\u9002\u7684\u9009\u62e9\u3002 <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e0e\u5176\u4ed6\u7528\u4e8ePi\u7684\u8bed\u8a00\u7684\u4e3b\u8981\u533a\u522b\u662f\u4ec0\u4e48\uff1f<\/h3>\n\n\n\n<p>\u8fd9\u4e9b\u8bed\u8a00\u662f\u7ecf\u8fc7\u7f16\u8bd1\u7684--\u4e5f\u5c31\u662f\u8bf4\uff0c\u4f60\u5199\u4e86\u4ee3\u7801\uff0c\u7136\u540e\u4f7f\u7528\u4e00\u4e2a\u53eb\u505a\u7f16\u8bd1\u5668\u7684\u7279\u6b8a\u5e94\u7528\u7a0b\u5e8f\uff0c\u751f\u6210\u4f60\u7684\u76ee\u6807\u67b6\u6784\u7684\u5904\u7406\u5668\u80fd\u591f\u539f\u751f\u7406\u89e3\u7684\u673a\u5668\u5b57\u8282\u7801\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u5982\u679c\u4f60\u60f3\u5728Pico W\u548cRaspberry Pi\u4ee5\u53ca\u4f60\u7684\u53f0\u5f0f\u7535\u8111\uff08\u57fa\u4e8eX86\uff09\u4e0a\u8fd0\u884c\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f60\u5c06\u9700\u8981\u4e3a\u5b83\u4eec\u4e2d\u7684\u6bcf\u4e00\u4e2a\u8fd0\u884c\u7279\u5b9a\u7684\u7f16\u8bd1\u5668\u3002 <\/p>\n\n\n\n<p>\u7f16\u8bd1\u8bed\u8a00\u7684\u53e6\u4e00\u4e2a\u4f8b\u5b50\u662fRust\uff0c\u5b83\u6709\u4e00\u4e9b\u5f88\u5927\u7684\u4f18\u52bf\u3002\u4f60\u770b\uff0cC\u548cC++\u9700\u8981\u4f60\u5904\u7406\u67d0\u4e9b\u4e8b\u60c5\uff0c\u6bd4\u5982\u5783\u573e\u6536\u96c6--\u5982\u679c\u4f60\u4e0d\u8fd9\u4e48\u505a\uff0c\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u5d29\u6e83\u3002\u5982\u679c\u4f60\u5199\u8bbe\u5907\u9a71\u52a8\uff0c\u6574\u4e2a\u8ba1\u7b97\u673a\u53ef\u80fd\u4f1a\u5d29\u6e83\u3002\u5728Rust\u4e2d\uff0c\u5f00\u53d1\u8005\u6709\u989d\u5916\u7684\u5b89\u5168\u9632\u62a4\u63aa\u65bd\u3002 <\/p>\n\n\n\n<p>\u53e6\u4e00\u79cd\u7531\u8c37\u6b4c\u5f00\u53d1\u7684\u6d41\u884c\u7f16\u8bd1\u8bed\u8a00\u88ab\u79f0\u4e3aGo\u3002\u4f60\u53ef\u80fd\u4f1a\u65f6\u4e0d\u65f6\u5730\u6ce8\u610f\u5230\u5bf9\u5b83\u4eec\u7684\u5f15\u7528\u3002 <\/p>\n\n\n\n<p>\u5982\u679c\u4f60\u4ee5\u524d\u4ece\u672a\u7f16\u8fc7\u4ee3\u7801\uff0c\u6211\u7684\u5efa\u8bae\u662f\u89e3\u91ca\u578b\u8bed\u8a00\uff0c\u4ee5\u4fbf\u4e8e\u4f60\u5f00\u59cb\u5b66\u4e60\u3002\u5b83\u4eec\u4e0d\u9700\u8981\u7f16\u8bd1\u6b65\u9aa4\uff0c\u800c\u662f\u7531\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u8bfb\u5165\uff0c\u7136\u540e\u6267\u884c\u6b63\u786e\u7684\u547d\u4ee4\u3002\u4e00\u4e2a\u597d\u7684\u5165\u95e8\u8bed\u8a00\u662fPython\uff08\u6216MicroPython\uff09\u3002 <\/p>\n\n\n\n<p>\u7136\u800c\uff0c\u5982\u679c\u4f60\u60f3\u521b\u5efa <a href=\"https:\/\/picockpit.com\/raspberry-pi\/gaming-on-the-raspberry-pi-pico\/#RP2040_Doom_is_the_answer_to_will_it_Doom\">\u5728Raspberry Pi Pico\u4e0a\u73a9Doom\u7b49\u4ee4\u4eba\u5fc3\u52a8\u7684\u9879\u76ee<\/a> \u90a3\u4e48\u4f60\u5c31\u9700\u8981\u77e5\u9053C\u6216C++\u3002<\/p>\n\n\n\n<p>C\u6216C++\u901a\u5e38\u662f\u5728Raspberry Pi\u4e0a\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u4e09\u79cd\u8bed\u8a00\u4e4b\u4e00\uff0c\u53e6\u4e00\u79cd\u662fPython\u3002\u56e0\u6b64\uff0c\u672c\u8282\u7684\u5f88\u5927\u4e00\u90e8\u5206\u5185\u5bb9\u5c06\u8c08\u8bba\u8fd9\u4e24\u79cd\u8bed\u8a00\u7684\u4f18\u70b9\u548c\u7f3a\u70b9\u3002<\/p>\n\n\n\n<p>\u8ba9\u6211\u4eec\u5148\u6765\u6bd4\u8f83\u4e00\u4e0b\u8fd9\u4e09\u8005\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td>C\u548cC++<\/td><td>\u5fae\u87d2<\/td><\/tr><tr><td>\u901f\u5ea6<\/td><td>\u66f4\u5feb<\/td><td>\u8f83\u6162<\/td><\/tr><tr><td>\u5b66\u4e60\u66f2\u7ebf<\/td><td>\u66f4\u52a0\u52aa\u529b<\/td><td>\u66f4\u52a0\u5bb9\u6613<\/td><\/tr><tr><td>\u5185\u5b58\u7ba1\u7406<\/td><td>\u624b\u518c<\/td><td>\u81ea\u52a8\uff08\u5783\u573e\u6536\u96c6\uff09\u3002<\/td><\/tr><tr><td>\u7f16\u8bd1\uff1f\u89e3\u91ca\u7684\uff1f<\/td><td>\u6c47\u7f16<\/td><td>\u53e3\u8bd1\u7684<\/td><\/tr><tr><td>\u793e\u533a\u7684\u4f7f\u7528\u60c5\u51b5<\/td><td>\u7528\u9014\u5e7f\u6cdb\uff0c\u7279\u522b\u662f\u7528\u4e8e\u9700\u8981\u7ec6\u5fae\u63a7\u5236\u7684\u9ad8\u7ea7\u9879\u76ee\u4e2d<\/td><td>\u4ece\u521d\u5b66\u8005\u5230\u9ad8\u7ea7\u7528\u6237\u90fd\u5e7f\u6cdb\u4f7f\u7528\u3002<\/td><\/tr><tr><td>\u7ec4\u4ef6\u7684\u5e93\u623f<\/td><td>\u4e00\u822c\u60c5\u51b5\u4e0b\u53ef\u4ee5\u4f7f\u7528<\/td><td>\u4e00\u822c\u60c5\u51b5\u4e0b\u53ef\u4ee5\u4f7f\u7528<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u521d\u5b66\u8005\u5e94\u8be5\u5b66\u4e60C\u8bed\u8a00\u8fd8\u662fC++\uff1f<\/h3>\n\n\n\n<p>\u6ca1\u6709\u4ec0\u4e48\u80fd\u963b\u6b62\u4f60\u7ecf\u5386\u706b\u7684\u8003\u9a8c\u3002<\/p>\n\n\n\n<p>\u56e0\u4e3a\u6740\u4e0d\u6b7b\u4f60\u7684\u4e1c\u897f\u4f7f\u4f60\u66f4\u5f3a\u5927\u3002<\/p>\n\n\n\n<p>\u5927\u591a\u6570\u9879\u76ee\u90fd\u53ef\u4ee5\u7528Python\u4ee5\u53caC\u6216C++\u5b9e\u73b0\u3002\u8fd9\u4e09\u79cd\u8bed\u8a00\u7684\u5e93\u7684\u53ef\u7528\u6027\u4e5f\u5f88\u5e7f\u6cdb\uff0c\u4f60\u4e0d\u592a\u53ef\u80fd\u56e0\u4e3a\u7f3a\u4e4f\u5e93\u800c\u9677\u5165\u74f6\u9888\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f60\u6709\u591a\u987d\u5f3a\uff1f<\/h3>\n\n\n\n<p>\u5bf9\u4e8e\u521d\u7ea7\u7a0b\u5e8f\u5458\u6765\u8bf4\uff0cC\u6216C++\u53ef\u80fd\u6709\u70b9\u4e0d\u90a3\u4e48\u6709\u8da3\uff0c\u56e0\u4e3a\u6709\u5f88\u591a\u65b9\u9762\u4f60\u5fc5\u987b\u8981\u8003\u8651\uff0c\u800c\u5728Python\u4e2d\u4f60\u4e0d\u4f1a\u8003\u8651\u3002<\/p>\n\n\n\n<p>\u4f8b\u5982\uff0c\u5728C\u548cC++\u4e2d\uff0c\u4f60\u5fc5\u987b\u7ba1\u7406\u4f60\u7684\u5185\u5b58\u3002\u4f60\u8fd8\u9700\u8981\u8003\u8651\u7ed9\u4e00\u4e2a\u53d8\u91cf\u5206\u914d\u4ec0\u4e48\u6837\u7684\u6570\u636e\u7c7b\u578b\u3002\u5982\u679c\u4f60\u4e0d\u77e5\u9053\u9009\u62e9\u4e00\u4e2a\u7c7b\u578b\u7684\u5229\u5f0a\u5f71\u54cd\uff0c\u8fd9\u53ef\u80fd\u4f1a\u53d8\u5f97\u5f88\u7e41\u7410\u3002 <\/p>\n\n\n\n<p>\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u5728C\u548cC++\u4e2d\u5206\u914d\u4e00\u4e2a\u6574\u6570\uff0c\u4f60\u5c06\u4e0d\u5f97\u4e0d\u51b3\u5b9a\u4f60\u662f\u5426\u60f3\u8981\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4d6e\u4d6e<\/li>\n\n\n\n<li>\u70ad<\/li>\n\n\n\n<li>\u65e0\u7b26\u53f7\u5b57\u7b26<\/li>\n\n\n\n<li>\u7b7e\u540d\u5b57\u7b26<\/li>\n\n\n\n<li>\u65e0\u7b26\u53f7\u5355\u4f4d<\/li>\n\n\n\n<li>\u77ed\u671f<\/li>\n\n\n\n<li>\u65e0\u7b26\u53f7\u77ed<\/li>\n\n\n\n<li>\u957f<\/li>\n\n\n\n<li>\u65e0\u7b26\u53f7\u957f<\/li>\n<\/ul>\n\n\n\n<p>\u9009\u62e9\u5176\u4e2d\u4e4b\u4e00\u5c06\u5bf9\u4f60\u7684\u7a0b\u5e8f\u7684\u901f\u5ea6\u548c\u5185\u5b58\u4f7f\u7528\u4ea7\u751f\u5f71\u54cd\u3002<\/p>\n\n\n\n<p>\u867d\u7136Python\u7684\u6548\u7387\u8f83\u4f4e\uff0c\u4f46\u4f60\u53ea\u9700\u8981\u4e3a\u4e86\u58f0\u660e\u4e00\u4e2a\u6574\u6570\u800c\u8fd9\u6837\u505a\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"integer = 999999999999999\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u62f7\u8d1d\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">integer<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">999999999999999<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u4f46\u6ca1\u6709\u75db\u82e6\u5c31\u6ca1\u6709\u6536\u83b7\uff0c\u5bf9\u5417\uff1f<\/p>\n\n\n\n<p>\u4e00\u65e6\u4f60\u719f\u6089\u4e86C\u6216C++\u7684\u5de5\u4f5c\u65b9\u5f0f\uff0c\u4f60\u5c31\u4f1a\u5f00\u59cb\u6536\u83b7\u597d\u5904\u3002\u56e0\u4e3a\u6309\u7167\u4eca\u5929\u7684\u6807\u51c6\uff0cRaspberry Pi\u5e76\u4e0d\u662f\u4e00\u53f0\u975e\u5e38\u5f3a\u5927\u7684\u8ba1\u7b97\u673a\uff0c\u80fd\u591f\u7f16\u5199\u9ad8\u6548\u7684\u4ee3\u7801\u5c06\u5e2e\u52a9\u4f60\u4ece\u5176\u6709\u9650\u7684\u786c\u4ef6\u4e2d\u83b7\u5f97\u6700\u4f73\u6027\u80fd\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8bbe\u7f6eC\u548cC++\u9700\u8981\u66f4\u591a\u65f6\u95f4<\/h3>\n\n\n\n<p>\u5f53Raspberry Pi Pico\u677f\u51fa\u73b0\u65f6\uff0c\u6211\u4e0d\u5f97\u4e0d\u5199\u5173\u4e8e\u4e3aPython\u548cC\u3001C++\u8bbe\u7f6ePico\u7684\u6587\u7ae0\u3002<\/p>\n\n\n\n<p>Python\u662f\u8d85\u7ea7\u7b80\u5355\u7684\u3002\u4e0b\u8f7dThonny\u3002\u63d2\u4e0aPico\u3002Flash MicroPython\u3002\u5b8c\u6210\u4e86\u3002<\/p>\n\n\n\n<p>C\u548cC++\u7684\u96be\u5ea6\u66f4\u5927\uff0c\u4e5f\u66f4\u7e41\u7410\u3002\u8fd9\u5f88\u660e\u663e--- <a href=\"https:\/\/datasheets.raspberrypi.com\/pico\/getting-started-with-pico.pdf\">Raspberry Pi\u53d1\u5e03\u4e86\u4e00\u4e2a\u5173\u4e8eC\/C++\u8bbe\u7f6e\u4e3b\u9898\u7684PDF\u6587\u4ef6<\/a>.\u8fd9\u4e48\u8bf4\u5427\uff0c\u4f60\u4e0d\u5f97\u4e0d\u4e0e\u547d\u4ee4\u884c\u4e92\u52a8\uff0c\u4ee5\u4fbf\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f60\u5c06\u6c38\u8fdc\u662f\u5149<\/h3>\n\n\n\n<p>C\u7ea6\u670940\u5e74\u5386\u53f2\uff0c\u81f3\u4eca\u4ecd\u5728\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u8fd9\u8bf4\u660e\u4e86\u4ec0\u4e48\u5462\uff1f<\/p>\n\n\n\n<p>\u5b83\u662f\u4f60\u80fd\u5b66\u5230\u7684\u6700\u52a8\u6001\u7684\u8bed\u8a00\u4e4b\u4e00\uff0c\u53ef\u7528\u4e8e\u521b\u5efa\u8f6f\u4ef6\u548c\u64cd\u7eb5\u786c\u4ef6\u3002<\/p>\n\n\n\n<p>\u56e0\u6b64\uff0c\u5982\u679c\u4f60\u70ed\u8877\u4e8e\u5b66\u4e60\u4e00\u95e8\u6781\u5176\u6709\u7528\u548c\u5f3a\u5927\u7684\u8bed\u8a00\uff0cC\u8bed\u8a00\u53ef\u80fd\u662f\u6700\u597d\u7684\u7b2c\u4e00\u95e8\u5b66\u4e60\u8bed\u8a00\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Psst...C\u548cC++\u53ef\u4ee5\u5728\u5176\u4ed6\u677f\u5757\u4e0a\u4f7f\u7528<\/h3>\n\n\n\n<p>\u6211\u662f\u57282022\u5e74\u5199\u7684\u8fd9\u7bc7\u6587\u7ae0\uff0c\u90a3\u91cc\u7684\u6811\u8393\u6d3e\u80a1\u7968\u662f\u4e2a\u5927\u95ee\u9898\u3002 <\/p>\n\n\n\n<p>\u4eba\u4eec\u95ee\u7684\u6700\u5927\u95ee\u9898\u4e4b\u4e00\u662f\uff1a\"\u6709\u4ec0\u4e48\u66ff\u4ee3\u677f\uff1f\u6211\u4e0d\u80fd\u7528\u4e0d\u5b58\u5728\u7684Raspberry Pi\u6765\u5efa\u7acb\u9879\u76ee\"\u3002<\/p>\n\n\n\n<p>\u6709\u8bb8\u591a\u66ff\u4ee3\u6027\u7684\u677f\u5b50\uff0c\u800c\u4e14 <a href=\"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-alternatives-in-2022\/\">\u4f60\u53ef\u4ee5\u5728\u8fd9\u91cc\u67e5\u770b\u5b83\u4eec\u3002<\/a><\/p>\n\n\n\n<p>\u5982\u679c\u4f60\u5b66\u4f1a\u4e86C\u6216C++\uff0c\u4f60\u5c06\u80fd\u591f\u76f4\u63a5\u8fdb\u5165\u4f7f\u7528Arduino\u6216ESP32\u6216ESP8266\u677f\uff0c\u5176\u7a0b\u5e8f\u51e0\u4e4e\u5168\u90e8\u662f\u7528C\u6216C++\u7f16\u5199\u7684\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e9b\u677f\u5b50\u53ef\u80fd\u4e0d\u63a5\u53d7Python\uff0c\u6240\u4ee5\u5982\u679c\u4f60\u8fdb\u5165Raspberry Pi\u7684\u539f\u56e0\u662f\u4e3a\u4e86\u7528\u5fae\u63a7\u5236\u5668\u521b\u5efa\u9879\u76ee\uff0c\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0C\u6216C++\u662f\u4e00\u79cd\u66f4\u5bb9\u6613\u8f6c\u79fb\u7684\u8bed\u8a00\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e3a\u6811\u8393\u6d3e\u5b66\u4e60C\u6216C++<\/h3>\n\n\n\n<p><a href=\"https:\/\/magpi.raspberrypi.com\/books\/essentials-c-v1\">MagPi\u4e3a\u521d\u5b66\u8005\u514d\u8d39\u51fa\u7248\u4e86\u4e00\u672c\u6742\u5fd7\u3002<\/a><\/p>\n\n\n\n<p><a href=\"http:\/\/c++\">MagPi\u8fd8\u53d1\u5e03\u4e86\u4e00\u4efd\u5b66\u4e60C\u8bed\u8a00\u7684\u5730\u65b9\u6e05\u5355\uff08\u4e0d\u662f\u4e13\u95e8\u9488\u5bf9Raspberry Pi\uff09\u3002<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/datasheets.raspberrypi.com\/pico\/getting-started-with-pico.pdf\">Raspberry Pi\u53d1\u5e03\u4e86\u4e00\u4efdPDF\u6587\u4ef6\uff0c\u6559\u4f60\u5982\u4f55\u5728Raspberry Pi Pico\u4e0a\u4f7f\u7528C\/C++\u3002<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8fd9\u91cc\u6709\u9f99<\/h2>\n\n\n\n<p>\u5728\u4e0a\u9762\u7684\u90e8\u5206\uff0c\u6211\u4eec\u5df2\u7ecf\u8c08\u5230\u4e86\u4f60\u5e94\u8be5\u8003\u8651\u5b66\u4e60\u7684\u7f16\u7a0b\u8bed\u8a00\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u7684\u90e8\u5206\u8c08\u5230\u4e86\u4e5f\u53ef\u4ee5\u4e0eRaspberry Pi\u4e00\u8d77\u4f7f\u7528\u7684\u6f5c\u5728\u8bed\u8a00\uff0c\u4f46\u4f7f\u7528\u6848\u4f8b\u548c\u793e\u533a\u5e76\u4e0d\u50cf\u4f7f\u7528Python\u3001C\u3001C++\u548cScratch\u65f6\u90a3\u4e48\u5927\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">JavaScript\uff08\u5305\u62ecNodeJS\uff09<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"938\" height=\"633\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-11.png\" alt=\"\" class=\"wp-image-3160\" style=\"width:720px;height:486px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-11.png 938w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-11-300x202.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-11-768x518.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-11-18x12.png 18w\" sizes=\"auto, (max-width: 938px) 100vw, 938px\" \/><figcaption class=\"wp-element-caption\">\u4e00\u4e2a\u8bb0\u5f55Raspberry Pi\u4e0aDHT22\u6e29\u5ea6\/\u6e7f\u5ea6\u4f20\u611f\u5668\u6570\u636e\u7684JavaScript\u7a0b\u5e8f\uff08\u5e76\u63d0\u4f9b\u4e00\u4e2a\u663e\u793a\u6570\u636e\u7684\u7f51\u9875\uff09\u3002<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u5bf9\u4e8e\u7231\u597d\u7f16\u7a0b\u7684\u4eba\u6765\u8bf4\uff0cJavaScript\u662f\u6700\u6709\u7528\u7684\u8bed\u8a00\u4e4b\u4e00\uff0c\u56e0\u4e3a\u4f60\u53ef\u4ee5\u7528\u5b83\u6765\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\u3001\u7f51\u7ad9\uff08\u7528HTML\u548cCSS\uff09\u548c\u540e\u7aef\u3002<\/p>\n\n\n\n<p>\u5728JavaScript\u9886\u57df\uff0c\u6700\u5927\u7684\u8fdb\u6b65\u4e4b\u4e00\u88ab\u79f0\u4e3aNodeJS\u3002\u4ee5\u524d\uff0cJavaScript\u4e3b\u8981\u662f\u57fa\u4e8e\u6d4f\u89c8\u5668\u7684\uff0c\u4f46\u6709\u4e86NodeJS\uff0c\u4f60\u53ef\u4ee5\u8fd0\u884c\u4e00\u4e2a\u540e\u7aef\uff0c\u5e76\u4e3a\u4f60\u7684Raspberry Pi\u548c\u5176\u4ed6\u8ba1\u7b97\u673a\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n\n\n\n<p>\u5177\u4f53\u5230Raspberry Pi\uff0c\u6709\u4e00\u4e9b\u5e93\u5141\u8bb8\u4f60\u64cd\u4f5cRaspberry Pi\u7684GPIO\u5f15\u811a\u3002\u56e0\u6b64\uff0c\u5982\u679c\u4f60\u60f3\u5efa\u7acb\u4e00\u4e2a\u7b80\u5355\u7684\u9879\u76ee\uff0c\u8fd0\u884c\u4e00\u4e2aJavaScript\u7a0b\u5e8f\u5c31\u4e0d\u4f1a\u6709\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u7136\u800c\uff0c\u4f60\u7684\u9879\u76ee\u6700\u5927\u7684\u74f6\u9888\u662f\u7f3a\u4e4fRaspberry Pi\u548cJavaScript\u4ea4\u6c47\u7684\u793e\u533a\u3002 <\/p>\n\n\n\n<p>\u5f53\u4f60\u8bbf\u95ee\u67d0\u4eba\u7684Github\u65f6\uff0c\u8fd9\u4e00\u70b9\u5c31\u5f88\u660e\u663e\u4e86\uff0c\u4e0d\u53ef\u907f\u514d\u5730\uff0c\u4ed6\u4eec\u7684\u9879\u76ee\u662f\u7528Python\u6216C\uff0cC++\u5199\u7684\u3002\u5f88\u5c11\u6709\u7a0b\u5e8f\u5458\u4f7f\u7528\u6811\u8393\u6d3e\u7684JavaScript\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u90a3\u4e48\uff0cJavaScript\u662f\u5426\u53ef\u4ee5\u6ce8\u9500\uff1f<\/h3>\n\n\n\n<p>\u4e0d\uff0c\u4e0d\u662f\u771f\u7684\u3002<\/p>\n\n\n\n<p>\u5b83\u4ecd\u7136\u6709\u5176\u7528\u9014\u3002<\/p>\n\n\n\n<p>\u4ec5\u4ec5\u5b66\u4e60JavaScript\u5c31\u80fd\u5e2e\u52a9\u4f60\u5b9e\u73b0\u76ee\u6807\u7684\u4e00\u4e2a\u7528\u4f8b\u662f\uff0c\u5982\u679c\u4f60\u60f3\u628aRaspberry Pi\u4f5c\u4e3a\u4e00\u4e2a\u7f51\u7edc\u670d\u52a1\u5668\u3002\u4f60\u53ef\u4ee5\u7528ExpressJS\uff08\u4e00\u4e2a\u540e\u7aef\u6846\u67b6\uff09\u7f16\u5199\u540e\u7aef\uff0c\u7528React\/Angular\/Vue\uff08\u524d\u7aef\u6846\u67b6\uff09\u7f16\u5199\u524d\u7aef\uff0c\u7136\u540e\u4f60\u4f1a\u7528PM2\uff08\u4e00\u4e2a\u8fdb\u7a0b\u7ba1\u7406\u5668\uff09\u6765\u4ea4\u4ed8\u540e\u7aef\u548c\u524d\u7aef\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u4ee5\u5b8c\u5168\u7528JavaScript\u6765\u505a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Raspberry Pi Pico W\u9700\u8981JavaScript<\/h3>\n\n\n\n<p>\u4e0d\u4e45\u524d\u5728\u4e00\u4e2aReact\u805a\u4f1a\u4e0a\uff0c\u6709\u4eba\u5632\u7b11\u6211\u5199\u7684\u662fvanilla JavaScript\u3002\u4ed6\u8c03\u4f83\u9053\uff1a\"\u73b0\u5728\u662f\u4ec0\u4e48\u5e74\u4ee3\uff1f2000\u5e74\u4ee3\u5417\uff1f\"<\/p>\n\n\n\n<p>\u5982\u679c\u4f60\u6709\u4e00\u4e2aRaspberry Pi Pico W\uff0c\u4f60\u6700\u7ec8\u4f1a\u9700\u8981\u77e5\u9053\u5982\u4f55\u7f16\u5199 <strong>vanilla JavaScript<\/strong>.<\/p>\n\n\n\n<p>\u770b\u770b\u73b0\u5728\u8c01\u5728\u7b11\uff1f<\/p>\n\n\n\n<p>\u867d\u7136\u7f51\u7edc\u5f00\u53d1\u754c\u5df2\u7ecf\u8f6c\u5411\u4f7f\u7528React\u3001Angular\u6216Vue\u7b49\u524d\u7aef\u6846\u67b6\uff0c\u4f46\u5728Raspberry Pi Pico\u4e0a\u63d0\u4f9b\u7f51\u7ad9\u670d\u52a1\u901a\u5e38\u9700\u8981\u4f60\u77e5\u9053\u5982\u4f55\u7f16\u5199\u865a\u65e0\u7684JavaScript\u3002\u5982\u679c\u4f60\u770b\u4e00\u4e0b\u6211\u4eec\u7684\u6559\u7a0b\uff0c\u5728\u6211\u4eec\u7684 <a href=\"https:\/\/picockpit.com\/raspberry-pi\/everything-about-the-raspberry-pi-pico-w\/\">Pico W\u5de8\u578b\u6587\u7ae0\uff0c\u4f60\u4f1a\u770b\u5230\u3002<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"499\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image.png\" alt=\"\" class=\"wp-image-3094\" style=\"width:696px;height:390px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image.png 891w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-300x168.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-768x430.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/image-18x10.png 18w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><figcaption class=\"wp-element-caption\">\u53f3\u4e0a\u89d2\u7684\u6ed1\u5757\u5728JavaScript\u7684\u5e2e\u52a9\u4e0b\u63a7\u5236\u8235\u673a\u3002<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Pico W\u6700\u5927\u7684\u597d\u5904\u4e4b\u4e00\u662f\uff0c\u5b83\u5141\u8bb8\u4f60\u63d0\u4f9b\u4e00\u4e2a\u7f51\u9875\uff0c\u4f60\u53ef\u80fd\u4f1a\u7528\u5b83\u6765\u63a7\u5236\u4e00\u4e9b\u4e1c\u897f\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u8ba9Pico W\u63d0\u4f9b\u4e00\u4e2a\u7f51\u9875\uff0c\u4e0a\u9762\u6709\u4e00\u4e2a\u63a7\u5236\u4f3a\u670d\u7684\u6ed1\u5757\u3002\u4e3a\u4e86\u5c06\u6ed1\u5757\u7684\u503c\u4f20\u9012\u7ed9Pico W\uff0c\u4f60\u9700\u8981\u4e86\u89e3JavaScript\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b66\u4e60JavaScript<\/h2>\n\n\n\n<p>\u6211\u53ea\u80fd\u63a8\u8350\u4e00\u4e2a\u7f51\u9875\uff0c\u5b83\u88ab\u8bc1\u660e\u662f\u6211\u5b66\u4e60JavaScript\u7684\u6700\u4f73\u8d44\u6e90\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/javascript.info\/\">https:\/\/javascript.info\/<\/a><\/p>\n\n\n\n<p>\u8fd9\u4e2a\u8d44\u6e90\u5bf9Pico W\u7528\u6237\u6765\u8bf4\u975e\u5e38\u597d\uff0c\u56e0\u4e3a\u5b83\u6559\u7ed9\u4f60\u865a\u65e0\u7f25\u7f08\u7684JavaScript\u548c\u6d4f\u89c8\u5668\u4e8b\u4ef6\u7684\u5404\u4e2a\u65b9\u9762\u3002\u4f60\u5c06\u9700\u8981\u4e86\u89e3\u540e\u8005\uff0c\u4ee5\u4fbf\u6709\u6548\u5730\u63a7\u5236Pico W\u548c\u4f60\u5c06\u63d0\u4f9b\u7684\u7f51\u9875\u7684\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">HTML + CSS<\/h2>\n\n\n\n<p>HTML \u548c CSS \u5e76\u975e\u771f\u6b63\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u4f46\u5b83\u4eec\u4e0e JavaScript \u90e8\u5206\u5bc6\u5207\u76f8\u5173\u3002\u5b83\u4eec\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u975e\u5e38\u6709\u7528<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f60\u8ba1\u5212\u505a\u4e00\u4e9b\u57fa\u4e8e\u7f51\u7edc\u7684\u4e8b\u60c5<\/li>\n\n\n\n<li>\u4f60\u8ba1\u5212\u7528Pico W\u6765\u63d0\u4f9b\u4e00\u4e2a\u7f51\u9875\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u8fd9\u4e00\u4e2a\u7f51\u7ad9\u5bf9\u6211\u5e2e\u52a9\u5f88\u5927\u3002 <a href=\"https:\/\/www.internetingishard.com\/html-and-css\/\">\u4e0a\u7f51\u5f88\u56f0\u96be<\/a><\/p>\n\n\n\n<p>\u5b83\u6709\u70b9\u8fc7\u65f6\u4e86\u3002\u4f8b\u5982\uff0c\u5b83\u4e0d\u5305\u62ecCSS\u7f51\u683c\u6216\u957f\u5bbd\u6bd4\u3002 <\/p>\n\n\n\n<p>\u4f46 \"\u4e0a\u7f51\u96be \"\u6709\u4e00\u5957\u6709\u6548\u7684\u6559\u5b66\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6559\u4f60\u4e3aPico W\u5efa\u7acb\u4e00\u4e2a\u7f51\u9875\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5efa\u8bae\u5982\u679c\u4f60\u60f3...<\/h2>\n\n\n\n<p><strong>\u5feb\u901f\u83b7\u5f97\u7ed3\u679c<\/strong>:Python\u6216Scratch<\/p>\n\n\n\n<p><strong>\u6559\u5b69\u5b50\u4eec\u5982\u4f55\u7f16\u7a0b\u3002 <\/strong>\u64e6\u4f24<\/p>\n\n\n\n<p><strong>\u83b7\u5f97\u5bf9\u4f60\u7684\u786c\u4ef6\u7684\u7ec8\u6781\u63a7\u5236\u3002 <\/strong>C\u6216C++<\/p>\n\n\n\n<p><strong>\u5efa\u7acb\u786c\u4ef6\u9879\u76ee<\/strong>:Python\u6216C\u6216C++\uff0c\u5176\u4ed6\u90fd\u4e0d\u7528\u7ba1\u4e86<\/p>\n\n\n\n<p><strong>\u6258\u7ba1\u7f51\u7edc\u670d\u52a1\u5668\u548c\u5efa\u7acb\u7f51\u7ad9<\/strong>:HTML, CSS, JavaScript<\/p>\n\n\n\n<p><strong>\u7528Pico W\u5efa\u7acb\u4e00\u4e2a\u7269\u8054\u7f51\u9879\u76ee\u3002<\/strong> Python, HTML, CSS, JavaScript<\/p>\n\n\n\n<p><strong>\u6210\u4e3a\u795e\u4e00\u6837\u7684\u4eba\uff08\u6295\u5165\u4e0d\u83f2\u7684\u65f6\u95f4\uff09\u3002<\/strong>:C\u6216\uff08\u7279\u522b\u662f\uff09C++<\/p>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2F%25e4%25bd%25a0%25e5%25ba%2594%25e8%25af%25a5%25e7%2594%25a8%25e4%25bb%2580%25e4%25b9%2588%25e7%25bc%2596%25e7%25a8%258b%25e8%25af%25ad%25e8%25a8%2580%25e6%259d%25a5%25e4%25bd%25bf%25e7%2594%25a8%25e6%25a0%2591%25e8%258e%2593%25e6%25b4%25be%25ef%25bc%259f%2F&text=Which%20programming%20language%20should%20you%20use%20for%20a%20Raspberry%20Pi%3F\" title=\"\u5728 X \u4e0a\u5206\u4eab\" aria-label=\"\u5728 X \u4e0a\u5206\u4eab\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2F%25e4%25bd%25a0%25e5%25ba%2594%25e8%25af%25a5%25e7%2594%25a8%25e4%25bb%2580%25e4%25b9%2588%25e7%25bc%2596%25e7%25a8%258b%25e8%25af%25ad%25e8%25a8%2580%25e6%259d%25a5%25e4%25bd%25bf%25e7%2594%25a8%25e6%25a0%2591%25e8%258e%2593%25e6%25b4%25be%25ef%25bc%259f%2F\" title=\"\u5728Facebook\u4e0a\u5206\u4eab\" aria-label=\"\u5728Facebook\u4e0a\u5206\u4eab\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2F%25e4%25bd%25a0%25e5%25ba%2594%25e8%25af%25a5%25e7%2594%25a8%25e4%25bb%2580%25e4%25b9%2588%25e7%25bc%2596%25e7%25a8%258b%25e8%25af%25ad%25e8%25a8%2580%25e6%259d%25a5%25e4%25bd%25bf%25e7%2594%25a8%25e6%25a0%2591%25e8%258e%2593%25e6%25b4%25be%25ef%25bc%259f%2F&text=Which%20programming%20language%20should%20you%20use%20for%20a%20Raspberry%20Pi%3F\" title=\"\u5728\u7535\u62a5\u4e0a\u5206\u4eab\" aria-label=\"\u5728\u7535\u62a5\u4e0a\u5206\u4eab\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2F%25e4%25bd%25a0%25e5%25ba%2594%25e8%25af%25a5%25e7%2594%25a8%25e4%25bb%2580%25e4%25b9%2588%25e7%25bc%2596%25e7%25a8%258b%25e8%25af%25ad%25e8%25a8%2580%25e6%259d%25a5%25e4%25bd%25bf%25e7%2594%25a8%25e6%25a0%2591%25e8%258e%2593%25e6%25b4%25be%25ef%25bc%259f%2F\" title=\"\u5206\u4eab\u81f3Reddit\" aria-label=\"\u5206\u4eab\u81f3Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f60\u662fRaspberry Pi\u7684\u65b0\u624b\uff0c\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u81ea\u5df1\u5904\u4e8e\u9009\u62e9\u5b66\u4e60\u7f16\u7a0b\u8bed\u8a00\u7684\u5341\u5b57\u8def\u53e3\u3002\u6709\u8fd9\u4e48\u591a\u7684\u8bed\u8a00\uff0c\u4f60\u51b3\u5b9a\u5b66\u4e60\u4ec0\u4e48\u5c06\u5bf9\u4f60\u80fd\u505a\u4ec0\u4e48\u4ea7\u751f\u6df1\u8fdc\u7684\u5f71\u54cd\u3002\u56e0\u6b64\uff0c\u8ba9\u6211\u4eec\u6765\u770b\u770b\u4f60\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u8bed\u8a00\u3002<\/p>","protected":false},"author":2,"featured_media":3164,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1193,3],"tags":[19,477,480,479,478,483,481,14,11,221,475,476,187,482],"class_list":["post-3113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-raspberry-pi-how-to","tag-c","tag-circuitpython","tag-css","tag-html","tag-javascript","tag-language","tag-learn","tag-micropython","tag-pico","tag-pico-w","tag-programming-language","tag-python","tag-raspberry-pi","tag-study"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Which programming language should you use for a Raspberry Pi? | PiCockpit<\/title>\n<meta name=\"description\" content=\"In this article, we compare Python, C\/C++, Scratch and JavaScript with the Raspberry Pi to ask: which programming language should your learn?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/zh\/\u4f60\u5e94\u8be5\u7528\u4ec0\u4e48\u7f16\u7a0b\u8bed\u8a00\u6765\u4f7f\u7528\u6811\u8393\u6d3e\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_HK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Which programming language should you use for a Raspberry Pi? | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"In this article, we compare Python, C\/C++, Scratch and JavaScript with the Raspberry Pi to ask: which programming language should your learn?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/zh\/\u4f60\u5e94\u8be5\u7528\u4ec0\u4e48\u7f16\u7a0b\u8bed\u8a00\u6765\u4f7f\u7528\u6811\u8393\u6d3e\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-13T18:07:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-08T16:17:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1778\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"raspi berry\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"raspi berry\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u8a08\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/\"},\"author\":{\"name\":\"raspi berry\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\"},\"headline\":\"Which programming language should you use for a Raspberry Pi?\",\"datePublished\":\"2022-10-13T18:07:26+00:00\",\"dateModified\":\"2023-11-08T16:17:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/\"},\"wordCount\":3001,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/featured-image-2.jpg\",\"keywords\":[\"C\",\"circuitpython\",\"css\",\"html\",\"javascript\",\"language\",\"learn\",\"microPython\",\"Pico\",\"Pico W\",\"programming language\",\"python\",\"Raspberry Pi\",\"study\"],\"articleSection\":[\"Python\",\"Tutorials\"],\"inLanguage\":\"zh-HK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/\",\"name\":\"Which programming language should you use for a Raspberry Pi? | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/featured-image-2.jpg\",\"datePublished\":\"2022-10-13T18:07:26+00:00\",\"dateModified\":\"2023-11-08T16:17:20+00:00\",\"description\":\"In this article, we compare Python, C\\\/C++, Scratch and JavaScript with the Raspberry Pi to ask: which programming language should your learn?\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/#breadcrumb\"},\"inLanguage\":\"zh-HK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/featured-image-2.jpg\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/featured-image-2.jpg\",\"width\":1778,\"height\":1000,\"caption\":\"raspberry pi languages\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/what-programming-language-should-you-use-with-the-raspberry-pi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/raspberry-pi-how-to\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Which programming language should you use for a Raspberry Pi?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-HK\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\",\"name\":\"raspi berry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"caption\":\"raspi berry\"},\"description\":\"I'm here to help you with all your Raspberry Pi related questions &amp; love to share about new project ideas for the Raspberry Pi, and give quick tips. Of course I'll also help you with PiCockpit and how to make your Raspberry Pi even easier to use with this raspberry pi monitoring solution :-)\",\"sameAs\":[\"https:\\\/\\\/picockpit.com\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/zh\\\/author\\\/raspi-berry\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u60a8\u5e94\u8be5\u4e3a Raspberry Pi \u4f7f\u7528\u54ea\u79cd\u7f16\u7a0b\u8bed\u8a00\uff1f| PiCockpit","description":"\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5bf9 Python\u3001C\/C++\u3001Scratch \u548c JavaScript \u4e0e Raspberry Pi \u8fdb\u884c\u6bd4\u8f83\uff0c\u5e76\u63d0\u51fa\u95ee\u9898\uff1a\u4f60\u5e94\u8be5\u5b66\u4e60\u54ea\u79cd\u7f16\u7a0b\u8bed\u8a00\uff1f","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/picockpit.com\/raspberry-pi\/zh\/\u4f60\u5e94\u8be5\u7528\u4ec0\u4e48\u7f16\u7a0b\u8bed\u8a00\u6765\u4f7f\u7528\u6811\u8393\u6d3e\uff1f\/","og_locale":"zh_HK","og_type":"article","og_title":"Which programming language should you use for a Raspberry Pi? | PiCockpit","og_description":"In this article, we compare Python, C\/C++, Scratch and JavaScript with the Raspberry Pi to ask: which programming language should your learn?","og_url":"https:\/\/picockpit.com\/raspberry-pi\/zh\/\u4f60\u5e94\u8be5\u7528\u4ec0\u4e48\u7f16\u7a0b\u8bed\u8a00\u6765\u4f7f\u7528\u6811\u8393\u6d3e\uff1f\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2022-10-13T18:07:26+00:00","article_modified_time":"2023-11-08T16:17:20+00:00","og_image":[{"width":1778,"height":1000,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2.jpg","type":"image\/jpeg"}],"author":"raspi berry","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"\u4f5c\u8005":"raspi berry","\u9810\u8a08\u95b1\u8b80\u6642\u9593":"15 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/"},"author":{"name":"raspi berry","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee"},"headline":"Which programming language should you use for a Raspberry Pi?","datePublished":"2022-10-13T18:07:26+00:00","dateModified":"2023-11-08T16:17:20+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/"},"wordCount":3001,"commentCount":4,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2.jpg","keywords":["C","circuitpython","css","html","javascript","language","learn","microPython","Pico","Pico W","programming language","python","Raspberry Pi","study"],"articleSection":["Python","Tutorials"],"inLanguage":"zh-HK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/","url":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/","name":"\u60a8\u5e94\u8be5\u4e3a Raspberry Pi \u4f7f\u7528\u54ea\u79cd\u7f16\u7a0b\u8bed\u8a00\uff1f| PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2.jpg","datePublished":"2022-10-13T18:07:26+00:00","dateModified":"2023-11-08T16:17:20+00:00","description":"\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5bf9 Python\u3001C\/C++\u3001Scratch \u548c JavaScript \u4e0e Raspberry Pi \u8fdb\u884c\u6bd4\u8f83\uff0c\u5e76\u63d0\u51fa\u95ee\u9898\uff1a\u4f60\u5e94\u8be5\u5b66\u4e60\u54ea\u79cd\u7f16\u7a0b\u8bed\u8a00\uff1f","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/#breadcrumb"},"inLanguage":"zh-HK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/"]}]},{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2.jpg","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/10\/featured-image-2.jpg","width":1778,"height":1000,"caption":"raspberry pi languages"},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/what-programming-language-should-you-use-with-the-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/raspberry-pi-how-to\/"},{"@type":"ListItem","position":3,"name":"Which programming language should you use for a Raspberry Pi?"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"\u7801\u5934","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-HK"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee","name":"raspi berry","image":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","caption":"raspi berry"},"description":"\u6211\u5728\u8fd9\u91cc\u5e2e\u52a9\u4f60\u89e3\u51b3\u6240\u6709\u4e0e\u6811\u8393\u6d3e\u6709\u5173\u7684\u95ee\u9898\uff0c\u5e76\u559c\u6b22\u5206\u4eab\u6709\u5173\u6811\u8393\u6d3e\u7684\u65b0\u9879\u76ee\u60f3\u6cd5\uff0c\u5e76\u7ed9\u51fa\u5feb\u901f\u63d0\u793a\u3002\u5f53\u7136\uff0c\u6211\u4e5f\u4f1a\u5e2e\u52a9\u4f60\u4e86\u89e3PiCockpit\uff0c\u4ee5\u53ca\u5982\u4f55\u5229\u7528\u8fd9\u4e2a\u6811\u8393\u6d3e\u76d1\u63a7\u89e3\u51b3\u65b9\u6848\u4f7f\u4f60\u7684\u6811\u8393\u6d3e\u66f4\u5bb9\u6613\u4f7f\u7528 :-)","sameAs":["https:\/\/picockpit.com"],"url":"https:\/\/picockpit.com\/raspberry-pi\/zh\/author\/raspi-berry\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/3113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/comments?post=3113"}],"version-history":[{"count":31,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/3113\/revisions"}],"predecessor-version":[{"id":5936,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/3113\/revisions\/5936"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/media\/3164"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/media?parent=3113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/categories?post=3113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/tags?post=3113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}