Notifications
Clear all
Jun 11, 2022 7:41 pm
Can someone explain to me what is the difference between BCM and BOARD on Raspberry Pi?
3 Replies
Jun 11, 2022 7:43 pm
Hi
BCM and BOARD are two numbering systems for the pins on the Raspberry Pi.
BCM lists pins by their Broadcom SOC channel (GPIO 23, GPIO 24), while BOARD numbers them consecutively (1, 2, 3) starting with the far left pin of the second row of pins.
Pin configuration is supported only by the RPi.GPIO library. GPIO Zero uses BOARD by default.
In RPi.GPIO, the pin numbering system declaration is done with:
GPIO.setmode(GPIO.XX)
Where XX should be replaced by BCM or BOARD.
