{"blog_title":"Rich Richer Richest","categories":["Raspberry pi"],"description":"LED\u5236\u5fa1\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092python\u3067\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3057\u305f\u3093\u3067\u3059\u304c\u3001LED\u304c\u4ed8\u304d\u3063\u3071\u306a\u3057\u306b\u306a\u3063\u3061\u3083\u3046\u554f\u984c\u304c\u8d77\u3053\u308a\u89e3\u6c7a\u3057\u305f\u306e\u3067\u30b7\u30a7\u30a2\u3057\u307e\u3059\u3002 ctl + C \u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5f37\u5236\u7d42\u4e86\u3057\u305f\u969b\u30012\u5ea6\u76ee\u306b\u52d5\u304b\u3059\u3068\u30a8\u30e9\u30fc\u304c\u3067\u30662\u5ea6\u76ee\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3067\u304d\u306a\u3044\u3070\u304b\u308a\u304bLED\u304c\u3064\u306a\u304c\u3063\u305f\u30dd\u30fc\u30c8\u304cHIGH\u306b\u306a\u308a\u3063\u3071\u306a\u3057\u3067\u56f0\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002 \u89e3\u6c7a\u7b56\u306f \u30c8\u30e9\u30a4\u30ad\u30e3\u30c3\u30c1\u306e\u51e6\u7406\u3092\u3044\u308c\u308b\u4e8b\u3067\u3057\u305f\u3002 try: while True: #\u7570\u5e38\u4fe1\u53f7\u691c\u77e5\u3067LED\u70b9\u706f if GPIO.input(PIN_ART) == GPIO.HIGH : GPIO.output(PIN_LED , GPIO.HIGH) #\u30ea\u30bb\u30c3\u30c8\u30dc\u30bf\u30f3\u304c\u62bc\u3055\u2026","author_url":"https://blog.hatena.ne.jp/mocchipa/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.richardh.work%2Fentry%2F2020%2F03%2F21%2F193952\" title=\"\u3010\u5099\u5fd8\u9332\u3011GPIO\u3092\u5236\u5fa1\u3059\u308b\u3068\u304d\u306fGPIO\u3092\u89e3\u653e\u3092\u5fd8\u308c\u305a\u306b - Rich Richer Richest\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2020-03-21 19:39:52","width":"100%","title":"\u3010\u5099\u5fd8\u9332\u3011GPIO\u3092\u5236\u5fa1\u3059\u308b\u3068\u304d\u306fGPIO\u3092\u89e3\u653e\u3092\u5fd8\u308c\u305a\u306b","height":"190","type":"rich","provider_name":"Hatena Blog","blog_url":"https://www.richardh.work/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/mocchipa/20200321/20200321161500.png","provider_url":"https://hatena.blog","version":"1.0","url":"https://www.richardh.work/entry/2020/03/21/193952","author_name":"mocchipa"}