Raspberry Pi Python Gpio
Raspberry Pi Python Gpio
GPIO
Raspberry Pi Python GPIO
The GPIO.BOARD option specifies that you are referring to the pins by the number of the
pin the the plug - i.e the numbers printed on the board (e.g. P1) and in the middle of the
diagrams below.
The GPIO.BCM option means that you are referring to the pins by the "Broadcom SOC
channel" number, these are the numbers after "GPIO" in the green rectangles around the
outside of the below diagrams: