{"url":"https://wvogel00.hatenadiary.org/entry/20110521/1305992443","title":"\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5","blog_url":"https://wvogel00.hatenadiary.org/","provider_name":"Hatena Blog","version":"1.0","provider_url":"https://hatena.blog","blog_title":"wvogel\u65e5\u8a18","published":"2011-05-21 00:40:43","author_name":"wvogel00","type":"rich","author_url":"https://blog.hatena.ne.jp/wvogel00/","description":"Arduino\u3067\u5b9f\u9a13\u4e2d \u4f55\u3082\u8003\u3048\u305a\u306b\u66f8\u3044\u3066\u3044\u3063\u305f\u3082\u306e\u306a\u306e\u3067\u3042\u307e\u308a\u7dba\u9e97\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3002 int base; int y,prevy; void setup(){ Serial.begin(9600); //\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u958b\u59cb pinMode(7,OUTPUT); //7\u756a\u30d4\u30f3\u3092LED\u51fa\u529b\u3068\u3057\u3066\u5229\u7528 digitalWrite(7,HIGH); //\u521d\u3081\u3001\u70b9\u706f base = 350 ; // \u4e2d\u5fc3\u5024\uff1a\u5024\u3092\u8f03\u6b63\u3059\u308b\u305f\u3081\u306e\u5024 y = 0 , prevy = 0 ; //\u521d\u671f\u5316 for(int i = 0; i < 50 ; i++){ prevy = (15 * prevy + (analogRead(1\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwvogel00.hatenadiary.org%2Fentry%2F20110521%2F1305992443\" title=\"\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5 - wvogel\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","categories":[],"image_url":null,"height":"190"}