iph.io/device/button/">periph.io/device/button example</a> rely on,
<a href="https://github.com/gokrazy/gokrazy/issues/233">is not available on gokrazy</a>.</p>
<p>The below example configures a single Pin for Input and uses Go channels to
signal level changes that can be acted on. Keep in mind that shortening the
polling interval will increase CPU usage.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="languag