{"width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/D/DreamerDream/20181205/20181205154059.png","height":"190","url":"https://dreamerdream.hateblo.jp/entry/2018/12/09/000000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdreamerdream.hateblo.jp%2Fentry%2F2018%2F12%2F09%2F000000\" title=\"RapberryPi\u3067\u30b9\u30c6\u30c3\u30d4\u30f3\u30b0\u30e2\u30fc\u30bf\u30fc\u3092\u5236\u5fa1\u3059\u308b\u3000\u2463\u5236\u5fa1 - DreamerDream\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u4eca\u56de\u306f\u5b9f\u969b\u306b\u30e9\u30ba\u30d1\u30a4\u304b\u3089\u5236\u5fa1\u3057\u3066\u307f\u307e\u3059\u3002 \u524d\u56de\u306fGPIO\u3068\u30c9\u30e9\u30a4\u30d0\u30fc\u3068\u306e\u63a5\u7d9a\u3067\u3057\u305f\u3002 dreamerdream.hateblo.jp \u9069\u5f53\u306apython\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u5236\u5fa1\u3057\u3066\u307f\u307e\u3059\u3002 #!/usr/bin/python#coding:utf-8 import RPi.GPIO as GPIOimport atexitimport time Dir = 27 #DIR\u30d4\u30f3\u8a2d\u5b9aStep = 17 #STEP\u30d4\u30f3\u8a2d\u5b9a def end(): #\u7d42\u4e86\u6642\u306b\u547c\u3076 GPIO.cleanup() #GPIO\u306e\u958b\u653e def init(): #GPIO\u521d\u671f\u5316 GPIO.setmode( GPIO.BCM ) #BC\u2026","author_name":"DreamerDream","provider_name":"Hatena Blog","type":"rich","categories":["RaspberryPi","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u96fb\u5b50\u5de5\u4f5c","\u5de5\u4f5c","Raspbian","python2.7"],"title":"RapberryPi\u3067\u30b9\u30c6\u30c3\u30d4\u30f3\u30b0\u30e2\u30fc\u30bf\u30fc\u3092\u5236\u5fa1\u3059\u308b\u3000\u2463\u5236\u5fa1","blog_title":"DreamerDream\u306e\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/DreamerDream/","version":"1.0","blog_url":"https://dreamerdream.hateblo.jp/","published":"2018-12-09 00:00:00","provider_url":"https://hatena.blog"}