{"id":2051,"date":"2024-04-04T15:36:18","date_gmt":"2024-04-04T06:36:18","guid":{"rendered":"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=2051"},"modified":"2024-04-04T15:36:18","modified_gmt":"2024-04-04T06:36:18","slug":"esp8266%e3%81%ab%e3%81%af%e5%9f%ba%e6%9c%acinput_pulldown%e3%81%aa%e3%81%8b%e3%81%a3%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=2051","title":{"rendered":"ESP8266\u306b\u306f\u57fa\u672cINPUT_PULLDOWN\u306a\u304b\u3063\u305f\u3002"},"content":{"rendered":"\n<p>ESP8266(ESP-WROOM-02)\u3067\u5185\u90e8\u30d7\u30eb\u30c0\u30a6\u30f3\u4f7f\u304a\u3046\u3068\u601d\u3063\u305f\u3089\u6012\u3089\u308c\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\kitam\\git\\yobidashi\\client\\home_yobidashi\\home_yobidashi.ino:109:22: error: 'INPUT_PULLDOWN' was not declared in this scope; did you mean 'INPUT_PULLDOWN_16'?<br>  109 |   pinMode(INPUT_PIN, INPUT_PULLDOWN);<br>      |                      ^~~~~~~~~~~~~~<br>      |                      INPUT_PULLDOWN_16<\/pre>\n\n\n\n<p>ESP8266\u306eGPIO1\u304b\u308915\u306b\u306fPULL_DOWN\u62b5\u6297\u306f\u306a\u3044\u3002INPUT\/OUTPUT\/INPUT_PULLUP\u306e\u3044\u305a\u308c\u304b\u6307\u5b9a\u3002<\/p>\n\n\n\n<p>GPIO16\u3060\u3051\u30d7\u30eb\u30c0\u30a6\u30f3\u62b5\u6297\u304c\u3042\u308b\u3002GPIO16\u306f\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u7528\u306e<a href=\"https:\/\/docs.espressif.com\/projects\/esp8266-rtos-sdk\/en\/latest\/api-reference\/system\/sleep_modes.html\" data-type=\"link\" data-id=\"https:\/\/docs.espressif.com\/projects\/esp8266-rtos-sdk\/en\/latest\/api-reference\/system\/sleep_modes.html\">\u7279\u5225<\/a>\u306a\u3084\u3064\u3002\u6307\u5b9a\u3059\u308b\u5834\u5408\u306fINPUT_PULLDOWN_16\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/links2004.github.io\/Arduino\/dc\/d6f\/md_esp8266_doc_reference.html\">https:\/\/links2004.github.io\/Arduino\/dc\/d6f\/md_esp8266_doc_reference.html<\/a><\/p>\n\n\n\n<p>\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306e\u914d\u7dda\u7684\u306bPULL_DOWN\u306e\u65b9\u304c\u6307\u3057\u3084\u3059\u304b\u3063\u305f\u3060\u3051\u306a\u306e\u3067\u304a\u3068\u306a\u3057\u304fPULL_UP\u4f7f\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ESP8266(ESP-WROOM-02)\u3067\u5185\u90e8\u30d7\u30eb\u30c0\u30a6\u30f3\u4f7f\u304a\u3046\u3068\u601d\u3063\u305f\u3089\u6012\u3089\u308c\u305f\u3002 C:\\Users\\kitam\\git\\yobidashi\\client\\home_yobidashi\\home_yobidashi.i [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[123,132],"class_list":["post-2051","post","type-post","status-publish","format-standard","hentry","category-117","tag-esp","tag-esp-wroom-02"],"_links":{"self":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/2051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2051"}],"version-history":[{"count":1,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/2051\/revisions"}],"predecessor-version":[{"id":2052,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/2051\/revisions\/2052"}],"wp:attachment":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}