Pinout specifications https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#gpio-and-the-40-pin-header