{"id":4434,"date":"2016-03-05T22:33:01","date_gmt":"2016-03-05T13:33:01","guid":{"rendered":"http:\/\/mirror.boy.jp\/?p=2347"},"modified":"2016-03-05T22:33:01","modified_gmt":"2016-03-05T13:33:01","slug":"arduino%e3%83%95%e3%82%a1%e3%83%bc%e3%83%a0%e3%81%aeesp-wroom-02esp8266%e9%96%8b%e7%99%ba%e3%83%9c%e3%83%bc%e3%83%89%e3%81%a7i2c%e9%80%9a%e4%bf%a1","status":"publish","type":"post","link":"https:\/\/inage.ksd6700.net\/?p=4434","title":{"rendered":"Arduino\u30d5\u30a1\u30fc\u30e0\u306eESP-WROOM-02(ESP8266)\u958b\u767a\u30dc\u30fc\u30c9\u3067I2C\u901a\u4fe1"},"content":{"rendered":"<p><a href=\"http:\/\/mirror.boy.jp\/wp-content\/uploads\/2016\/03\/IMG_9972.jpg\" rel=\"attachment wp-att-2359\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2359\" src=\"http:\/\/mirror.boy.jp\/wp-content\/uploads\/2016\/03\/IMG_9972-1024x575.jpg\" alt=\"IMG_9972\" width=\"1024\" height=\"575\" srcset=\"http:\/\/mirror.boy.jp\/wp-content\/uploads\/2016\/03\/IMG_9972-1024x575.jpg 1024w, http:\/\/mirror.boy.jp\/wp-content\/uploads\/2016\/03\/IMG_9972-400x225.jpg 400w, http:\/\/mirror.boy.jp\/wp-content\/uploads\/2016\/03\/IMG_9972-768x431.jpg 768w, http:\/\/mirror.boy.jp\/wp-content\/uploads\/2016\/03\/IMG_9972-304x171.jpg 304w, http:\/\/mirror.boy.jp\/wp-content\/uploads\/2016\/03\/IMG_9972.jpg 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><br \/>\n<a href=\"http:\/\/trac.switch-science.com\/wiki\/esp_dev_arduino_ide\">ESP-WROOM-02\u958b\u767a\u30dc\u30fc\u30c9\u3092Arduino\u30d5\u30a1\u30fc\u30e0\u306b\u3057\u3066\u904a\u3093\u3067\u3044\u308b<\/a>\u306e\u3067\u3059\u304c\u3001Wire\u30e9\u30a4\u30d6\u30e9\u30ea\uff08I2C\uff09\u306b\u4f7f\u3046\u30d4\u30f3\u304c\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u30e1\u30e2<\/p>\n<ul>\n<li>SCL &#8211; IO5<\/li>\n<li>SDA &#8211; IO4<\/li>\n<\/ul>\n<h3>I2C\u901a\u4fe1\u30c6\u30b9\u30c8<\/h3>\n<p><iframe loading=\"lazy\" width=\"600\" height=\"600\" src=\"https:\/\/vine.co\/v\/iXeWpg1KDxB\/embed\/simple?audio=1\" frameborder=\"0\"><\/iframe><script src=\"https:\/\/platform.vine.co\/static\/scripts\/embed.js\"><\/script><br \/>\nI2C\u901a\u4fe1\u306e\u30c6\u30b9\u30c8\u3002\u4e0a\u8a18\u306eVine\u52d5\u753b\u3067\u70b9\u706f\u3057\u3066\u3044\u308b\u306e\u306f\u3001<a href=\"http:\/\/trac.switch-science.com\/wiki\/PCA9622DR\">PCA9622DR\u642d\u8f09\u3057\u305fLED\u30e2\u30b8\u30e5\u30fc\u30eb<\/a>\u3002<a href=\"http:\/\/trac.switch-science.com\/wiki\/PCA9622DR\">Arduino\u7528\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/a>\u307e\u307e\u3067\u52d5\u304d\u307e\u3057\u305f\u3002<\/p>\n<h3>\u8ffd\u8a18<\/h3>\n<p><a href=\"http:\/\/esp8266.github.io\/Arduino\/versions\/2.1.0-rc2\/doc\/reference.html\">Arduino ESP8266\u306e\u30d4\u30f3\u914d\u5217<\/a><\/p>\n<blockquote>\n<p><a href=\"http:\/\/esp8266.github.io\/Arduino\/versions\/2.1.0-rc2\/doc\/libraries.html\">Wire library currently supports master mode up to approximately 450KHz. Before using I2C, pins for SDA and SCL need to be set by calling\u00a0<code>Wire.begin(int sda, int scl)<\/code>, i.e.\u00a0<code>Wire.begin(0, 2)<\/code>\u00a0on ESP-01, else they default to pins 4(SDA) and 5(SCL).<\/a><\/p>\n<\/blockquote>\n<p>I2C\u306e\u30d4\u30f3\u8a2d\u5b9a\u306f\u3001\u5909\u3048\u3089\u308c\u308b\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ESP-WROOM-02&#38283;&#30330;&#12508;&#12540;&#12489;&#12434;Arduino&#12501;&#12449;&#12540;&#12512;&#12395;&#12375;&#12390;&#36938;&#12435;&#12391; &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=\/wp\/v2\/posts\/4434"}],"collection":[{"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4434"}],"version-history":[{"count":3,"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=\/wp\/v2\/posts\/4434\/revisions"}],"predecessor-version":[{"id":4511,"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=\/wp\/v2\/posts\/4434\/revisions\/4511"}],"wp:attachment":[{"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inage.ksd6700.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}