ããããã®ãæ°å¹´ããã«ããã®æã®è¿ä»£çãªå®è£ ã§ä½ããªããã¦ã¿ãã¨ããã°ã©ãã³ã°ç°å¢ã®é²æ©ããããã 1. ä»æ¥åãå¿ è¦ãã©ãã表示ãã¦ãããã¦ãã¦ãå主 æ´ãã®æ é¨ãéãå¯è½æ§ãããæ ã¦ãã§ã¯15åããã«ãã®æ¥ã®å¤©æ°äºå ±ãåå¾ãã¦è¡¨ç¤ºãã¦ããããã¡ãã¬ãç¡ããã©ããã®ãé°ã§åãå¿ãããããªããªã£ãã ããã°ã©ã ã¯ãã®ãããåç´ã«ãªã£ã¦ãããRubyã®ã¿ã Macã§éçºãã¦Raspberry Piã«ãããã¤ãããRubyåãUNIXç³»ãªãã©ãã§ãåãã¯ãã require 'rubygems' require 'arduino_firmata' require 'weather_jp' arduino = ArduinoFirmata.connect weather = WeatherJp.get 'æ±äº¬' if weather.today.rain > 30 # é水確ç30%ä»¥ä¸ a
{{#tags}}- {{label}}
{{/tags}}