{"image_url":null,"url":"https://stamefusa.hateblo.jp/entry/20110925/1316938830","published":"2011-09-25 17:20:30","categories":["Arduino","RSL-PJ"],"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/stamefusa/","title":" Arduino\u3067\u53ef\u5909\u62b5\u6297\u5024\u3092\u8aad\u3080","blog_url":"https://stamefusa.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstamefusa.hateblo.jp%2Fentry%2F20110925%2F1316938830\" title=\" Arduino\u3067\u53ef\u5909\u62b5\u6297\u5024\u3092\u8aad\u3080 - \u3080\u3060\u306a\u3000\u3082\u306e\u3092\u3000\u3064\u304f\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"stamefusa","version":"1.0","width":"100%","blog_title":"\u3080\u3060\u306a\u3000\u3082\u306e\u3092\u3000\u3064\u304f\u308b","description":"LED\u3092\u5149\u3089\u305b\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u3084\u3063\u3066\u307f\u305f\u3042\u3068\u3001\u53ef\u5909\u62b5\u6297\u5668\u306e\u5024\u3092\u8aad\u3080\u30b5\u30f3\u30d7\u30eb\u3092\u8d70\u3089\u305b\u3066\u307f\u305f\u3002 \u30bd\u30fc\u30b9\u306f\u3053\u3093\u306a\u611f\u3058\u3002 int val = 0; int input_pin_number = 0; //\u30a2\u30ca\u30ed\u30b0\u5165\u529b\u30dd\u30fc\u30c8\u8a2d\u5b9a void setup(){ Serial.begin(9600); } void loop(){ val = analogRead(input_pin_number); //\u30a2\u30ca\u30ed\u30b0\u5165\u529b\u5024\u8aad\u53d6 (val, DEC); //\u8868\u793a delay(100); //100ms\u30a6\u30a7\u30a4\u30c8 }\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u3066\u30b7\u30ea\u30a2\u30eb\u7d4c\u7531\u3067\u5024\u3092\u51fa\u529b\u3059\u308b\u3060\u3051\u3067OK\u3002\u5b9f\u306b\u7c21\u5358\u3060\u3002\u5efa\u7bc9\u767a\u660e\u5de5\u4f5c\u30bc\u30df2008: Arduin\u2026","provider_name":"Hatena Blog","type":"rich"}