<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kabegiwakun</author_name>
  <author_url>https://blog.hatena.ne.jp/kabegiwakun/</author_url>
  <blog_title>かべぎわブログ</blog_title>
  <blog_url>https://www.kabegiwablog.com/</blog_url>
  <categories>
    <anon>RaspberryPi</anon>
  </categories>
  <description>今回はRaspberryPiとタクトスイッチをつかってLEDをON/OFFして見たいと思います。 配線図 ちょっと複雑ですね。 役割としては以下の2つに分かれています。 タクトスイッチの状態をGPIO14で取得する。 GPIO15でLEDを点灯する。(これとおなじです→【Lチカ】Raspberry PiをPythonでLチカする方法【Python3】 - かべぎわブログ ) コード gist126c5015b8220925921af1430eb4a24b かんたんに説明すると まず7行目GPIO.setup(15,GPIO.OUT)でLEDと接続しているGPIO15のを出力設定を行っています。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kabegiwablog.com%2Fentry%2F2017%2F08%2F20%2F222425&quot; title=&quot;【RaspberryPi】タクトスイッチでLEDをON/OFFさせてみる - かべぎわブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kabegiwakun/20170820/20170820200225.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-20 22:24:25</published>
  <title>【RaspberryPi】タクトスイッチでLEDをON/OFFさせてみる</title>
  <type>rich</type>
  <url>https://www.kabegiwablog.com/entry/2017/08/20/222425</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
