rsion
<code>v3.6.4</code>.</p>
<h2 id="connect-gpio-pins-based-on-pinout">Connect GPIO pins based on pinout</h2>
<p>To verify the code is doing what we expect, let’s connect a multimeter as per
<a href="https://pinout.xyz">pinout.xyz</a>’s pinout:</p>
<p><img src="/img/raspberry-pi-pinout.png" alt=""></p>
<ul>
<li>pin number 18 (signal <code>BCM24</code>, labeled <code>24</code> in the pinout above)</li>
<li>pin number 20 (signal <code>GND</code>)</li>
</ul>
<p>We need to set the multimeter to “Voltag