{"id":228,"date":"2018-07-10T18:38:48","date_gmt":"2018-07-10T10:38:48","guid":{"rendered":"https:\/\/fick707.com\/?p=228"},"modified":"2024-08-01T10:23:24","modified_gmt":"2024-08-01T02:23:24","slug":"%e4%b8%80%e4%b8%aajava%e5%b7%a5%e7%a8%8b%e5%b8%88%e7%9a%84iot%e5%85%a5%e9%97%a8%e4%b9%8b%e8%b7%af03-hello-world","status":"publish","type":"post","link":"https:\/\/fick707.com\/?p=228","title":{"rendered":"\u4e00\u4e2ajava\u5de5\u7a0b\u5e08\u7684IOT\u5165\u95e8\u4e4b\u8def03&#8211;hello world"},"content":{"rendered":"<h2>\u4e66\u63a5\u4e0a\u6587<\/h2>\n<p>\u51c6\u5907\u4ecearduino\u8fd9\u4e2a\u677f\u5b50\u5165\u624b\uff0c\u5f00\u59cb\u8fb9\u5b9e\u8df5\u8fb9\u5b66\u4e60\u7684\u8fc7\u7a0b<\/p>\n<h2>hello world<\/h2>\n<p>\u677f\u5b50\u672a\u5230\u4e4b\u524d\uff0c\u5728\u60f3\u4e00\u4e2a\u95ee\u9898\uff0c\u96be\u9053\u6ca1\u6709\u677f\u5b50\u5c31\u4e0d\u80fd\u5f00\u59cb\u5417\uff1f\u6ca1\u6709\u96f6\u6295\u5165\u7684\u5165\u95e8\u65b9\u5f0f\u5417\uff1f<br \/>\n\u4ee5\u201carduino \u6a21\u62df\u5668\u201d\u4e3a\u5173\u952e\u5b57\u641c\u7d22\uff0c\u54c8\u54c8\uff0c\u8fd8\u771f\u6709\u6a21\u62df\u5668\u4f9b\u4f7f\u7528\uff0c\u4f46\u5c1d\u8bd5\u4e0b\u6765\u53d1\u4e00\uff0c\u6ca1\u6709\u4e00\u4e2a\u6a21\u62df\u5668\uff08\u6709\u5728\u7ebf\u7684\uff0c\u6709\u9700\u8981\u5b89\u88c5\u8f6f\u4ef6\u7684\uff09\u53ef\u4ee5\u8ba9\u4eba\u8f7b\u677e\u4e0a\u624b\u3002\u6709\u4e00\u4e2a\u5728\u7ebf\u7684\uff0c\u611f\u89c9\u633a\u597d<a href=\"https:\/\/circuits.io\/\">https:\/\/circuits.io\/<\/a>,\u4f46TM\u7684\u7adf\u7136\u4e0d\u5de5\u4f5c\u4e86\u3002\u62a5404\u9519\u8bef\uff0c\u771f\u7684\u662f\u9189\u4e86\u3002<br \/>\n\u81f3\u4e8e\u90a3\u4e9b\u9700\u8981\u5b89\u88c5\u8f6f\u4ef6\u7684\uff0c\u771f\u7684\u662f\u53c8\u8981\u5165\u95e8\u4e00\u4e2a\u9886\u57df\u7684\u611f\u89c9\u3002<\/p>\n<p>\u5e78\u4e8f\uff0c\u4eca\u5929arduino uno r3\u7684\u677f\u5b50\u5230\u4e86\uff0c\u53ef\u4ee5\u5f00\u59cb\u6211\u4eec\u6700\u671f\u5f85\u7684hello world\u4e86\u3002\u54c8\u54c8\u3002<br \/>\n\u4e70\u7684\u662f\u5957\u4ef6\u88c5\uff0c\u91cc\u9762\u6709\u597d\u51e0\u4e2a\u4f20\u611f\u5668\uff0c\u6709\u8fde\u63a5\u7ebf\uff0c\u6709\u663e\u793a\u5c4f\uff0cled\u7b49\u3002<\/p>\n<h3>\u8fc7\u7a0b<\/h3>\n<p>\u6211\u5df2\u7ecf\u4e0b\u8f7d\u5e76\u5b89\u88c5\u4e86arduino IDE,<a href=\"https:\/\/www.arduino.cc\/\">Arduion\u5b98\u7f51<\/a> \u5e76\u4e14\u6628\u5929\u5df2\u7ecf\u719f\u6089\u4e86\u5b83\u7684\u5f00\u53d1\u9875\u9762\uff0c\u5bf9\u4e8e\u6211\u4eec\u5de5\u7a0b\u5e08\u6765\u8bf4\uff0c\u719f\u6089\u8fd9\u4e2a\u8fd8\u662fso easy\u7684\u3002<\/p>\n<ol>\n<li>\u627e\u5f00IDE\u5185\u7f6e\u7684\u793a\u4f8b\u6587\u4ef6Blink(LDE\u706f\u95ea\u4e00\u95ea\uff09<br \/>\n<img decoding=\"async\" src=\"\/pics\/iot\/05\/0530_00001.png\" alt=\"\" \/><\/li>\n<li>\u54a6\uff1f\u4e3a\u4ec0\u4e48\u4e0d\u662fHello World\u554a\uff1f\u597d\u5427\uff0c\u90a3\u6211\u7a0d\u4fee\u6539\u4e00\u4e0b\uff0c\u6dfb\u52a0Hello World\uff0c\u8ba9\u4f60\u6ee1\u610f\u3002\u6240\u4ee5\u6211\u8fd9\u4e2a\u7a0b\u5e8f\uff0c\u5373\u6709\u706f\u5149\u95ea\u95ea\u7684\u6548\u679c\uff0c\u53c8\u6709hello world\u7684\u610f\u601d\u3002hello world\u7684\u90e8\u5206\u53c2\u8003<a href=\"https:\/\/jingyan.baidu.com\/article\/fea4511a180c42f7bb912506.html\">\u767e\u5ea6\u7ecf\u9a8c<\/a>\n<pre><code class=\"\">void setup() {\n  \/\/ initialize digital pin LED_BUILTIN as an output.\n  Serial.begin(9600);\/\/ \u8bbe\u7f6e\u4e0e\u7535\u8111\u901a\u4fe1\u7684\u6ce2\u7279\u73879600\n  pinMode(LED_BUILTIN, OUTPUT);\n}\n\n\/\/ the loop function runs over and over again forever\nvoid loop() {\n  Serial.println(\"Hello World\");     \/\/ \u5728\u4e32\u53e3\u76d1\u89c6\u5668\u4e0a\u663e\u793aHello World\n  digitalWrite(LED_BUILTIN, HIGH);   \/\/ turn the LED on (HIGH is the voltage level)\n  delay(1000);                       \/\/ wait for a second\n  Serial.println(\"Bye World\");       \/\/ \u5728\u4e32\u53e3\u76d1\u89c6\u5668\u4e0a\u663e\u793aBye World\n  digitalWrite(LED_BUILTIN, LOW);    \/\/ turn the LED off by making the voltage LOW\n  delay(1000);                       \/\/ wait for a second\n}\n<\/code><\/pre>\n<\/li>\n<li>\u7f16\u8bd1\u7a0b\u5e8f\uff0c\u770b\u770b\u662f\u5426\u6709\u9519\u8bef\uff08IDE\u5f00\u53d1\u9762\u677f\u5de6\u4e0a\u89d2\uff0c\u5bf9\u53f7\u6309\u94ae\uff09\uff1b<\/p>\n<\/li>\n<li>\u6ca1\u6709\u95ee\u9898\uff0c\u8fde\u63a5\u677f\u5b50\uff08\u677f\u5b50\u4e5f\u53ef\u4ee5\u63d0\u4ea4\u8fde\u4e0a\uff0c\u8fde\u4e0a\u677f\u5b50\u540e\uff0cIDE\u53f3\u4e0b\u89d2\u6709\u63d0\u793a\uff0c\u544a\u8bc9\u4f60\u54ea\u4e2a\u7aef\u53e3\u4e0a\u8fde\u4e0a\u4e86\u677f\u5b50\uff09\uff1b<\/li>\n<li>\u5f53\u524d\u7a0b\u5e8f\u4e0e\u677f\u5b50\u5173\u8054\uff1a\n<ul>\n<li>\u5de5\u5177-\u677f\uff0c\u9009\u62e9\u597d\u4f60\u662f\u7528\u7684Arduino\u7684\u578b\u53f7\uff1b<\/li>\n<li>\u5de5\u5177-\u7aef\u53e3\uff0c\u9009\u62e9\u677f\u5b50\u6240\u5728\u7684\u7aef\u53e3\uff1b<\/li>\n<\/ul>\n<\/li>\n<li>\u5c06\u7a0b\u5e8f\u4e0a\u4f20\u81f3\u677f\u5b50\uff08\u70e7\u5f55\u5230\u677f\u5b50\u4e0a\uff0c\u4ee5\u524d\u89c9\u5f97\u70e7\u5f55\u597d\u9ad8\u5927\u4e0a\uff0c\u5176\u5b9e&#8230;\u4e5f\u5c31\u8fd9\u56de\u4e8b\uff09\uff1b<br \/>\n<font color='red'><code>\u6ce8<\/code>\u7a0b\u5e8f\u4e0a\u4f20\u8fc7\u7a0b\u4e2d\uff0c\u677f\u5b50\u4e0a\u4f1a\u6709\u706f\u4e0d\u65ad\u5730\u95ea\uff0c\u8868\u793a\u70e7\u5f55\u8fdb\u884c\u4e2d\uff0c\u8fd9\u4e2a\u65f6\u5019\u5343\u4e07\u4e0d\u8981\u65ad\u5f00\u677f\u5b50\u4e0e\u7535\u8111\u7684\u8fde\u63a5\uff0c\u5426\u5219\u677f\u5b50OVER\uff0c\u5927\u5bb6\u90fd\u8fd9\u4e48\u8bf4\uff0c\u6211\u6ca1\u6562\u5c1d\u8bd5\u3002\u4e0a\u4f20\u5b8c\u6210\u8f6f\u4ef6\u72b6\u6001\u680f\u4f1a\u663e\u793a\u201c\u4e0a\u4f20\u5b8c\u6210\u201d<\/font><\/li>\n<li>\u4e0a\u4f20\u5f88\u5feb\uff0c\u7136\u540e\u4f60\u5c31\u4f1a\u770b\u5230\u6709\u4e00\u4e2a\u706f\uff0c\u6309\u7167\u6211\u4eec\u7684\u8bbe\u5b9a\uff0c\u4eae\u4e00\u79d2\uff0c\u505c\u4e00\u79d2\uff0c\u518d\u4eae\u4e00\u79d2\uff0c\u518d&#8230;<\/li>\n<li>\u6253\u5f00 \u5de5\u5177-\u4e32\u53e3\u76d1\u89c6\u5668,\u4f1a\u770b\u5230\u6309\u7167\u6211\u4eec\u7684\u8bbe\u5b9a\uff0c\u6b63\u5728\u8f93\u51faHello World\u548cBye World.<\/li>\n<\/ol>\n<p>\u987a\u5229\u5b8c\u6210Hello World\uff0c\u6211\u4eec\u5df2\u7ecf\u8fdb\u5165\u4e86\u5d4c\u5165\u5f0f\u5f00\u53d1\u7684\u4e16\u754c\uff08IOT\u4e5f\u5728\u4e0d\u8fdc\u5904\uff09\u3002<\/p>\n<p>2018.05.30<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e66\u63a5\u4e0a\u6587 \u51c6\u5907\u4ecearduino\u8fd9\u4e2a\u677f\u5b50\u5165\u624b\uff0c\u5f00\u59cb\u8fb9\u5b9e\u8df5\u8fb9\u5b66\u4e60\u7684\u8fc7\u7a0b hello world \u677f\u5b50\u672a\u5230 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[7],"series":[27],"class_list":["post-228","post","type-post","status-publish","format-standard","hentry","category-iot","tag-iot","series-iot_step_by_step"],"_links":{"self":[{"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/posts\/228"}],"collection":[{"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=228"}],"version-history":[{"count":1,"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":229,"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions\/229"}],"wp:attachment":[{"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=228"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}