<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>goma483549</author_name>
  <author_url>https://blog.hatena.ne.jp/goma483549/</author_url>
  <blog_title>自由に工作中</blog_title>
  <blog_url>https://goma483549.hatenablog.com/</blog_url>
  <categories>
    <anon>Micro Python</anon>
  </categories>
  <description>Rasberry Pi Picoでの割り込み操作について記載しました。 IRQ(Interrupt Request)を用いて、ボタンを押したときに関数を呼ぶようにしています。 機能 ボタンを押したときだけLEDが光る。 接続 ・PicoのGPIO21 --- LED(アノード)---LED(カソード)---680Ω---GND ・PicoのGPIO8 --- ボタン---GND ソースコード from machine import Pinimport time # ピンの入出力設定BUTTON_PIN = 8button = Pin(BUTTON_PIN, Pin.IN, Pin.PULL_U…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgoma483549.hatenablog.com%2Fentry%2F2021%2F09%2F18%2F104726&quot; title=&quot;Micro Python の書き方(ボタン割り込み) - 自由に工作中&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/g/goma483549/20210918/20210918102014.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-09-18 10:47:26</published>
  <title>Micro Python の書き方(ボタン割り込み)</title>
  <type>rich</type>
  <url>https://goma483549.hatenablog.com/entry/2021/09/18/104726</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
