pg"><img src="/img/2020-06-15-gpio.thumb.jpg" srcset="/img/2020-06-15-gpio.thumb.2x.jpg 2x,/img/2020-06-15-gpio.thumb.3x.jpg 3x" width="700" style="border: 1px solid grey; margin-bottom: 2em; margin-top: 1em"></a></p>
<h2 id="setting-up-an-input-pin">Setting up an input pin</h2>
<p>To setup a Pin as an input and to act on change to High level, such as a button,
we must poll the Pin periodically because <a href="http://periph.io/">periph.io’s</a> edge
detection, which examples like the
<a href="https://per