      </div>
        
        <div id="body-inner">
          
            <h1>
              
              Controlling a GPIO input/output pin
            </h1>
          

        


<p>In this guide, we are using <a href="https://periph.io/">periph.io</a>, a library for
peripheral I/O in Go, to set one of the Raspberry Pi’s General Purpose I/O
(GPIO) pins to a logical high (3.3V) or low (0V) signal.</p>
<p>periph.io supports the Raspberry Pi 3, Raspberry Pi Zero 2W and Raspberry Pi 4, starting with ve