<?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のカメラのシャッターを切ってみたいと思います。 カメラの接続方法等は以下記事をごらんください。 kabegiwa.hatenadiary.jp 配線図 超シンプルです。GPIO14とGNDにタクトスイッチをつないでいます。 コード RaspberryPi 説明 21行目でGPIO14の値を読み込んで、my_callback関数でraspistill -o wawawa.jpg -t 1を発行しています。 subprocess.Popenに配列形式でコマンドを記述することで実行することができます。 まとめ タクトスイッチでカメラのシャッターをきることに成功し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kabegiwablog.com%2Fentry%2F2017%2F09%2F04%2F211940&quot; title=&quot;タクトスイッチでRaspberryPiのカメラをシャッターをきる - かべぎわブログ&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/20170903/20170903191848.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-04 21:19:40</published>
  <title>タクトスイッチでRaspberryPiのカメラをシャッターをきる</title>
  <type>rich</type>
  <url>https://www.kabegiwablog.com/entry/2017/09/04/211940</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
