Forum

BCM and BOARD in Ra...
 
Notifications
Clear all

[Solved] BCM and BOARD in Raspberry Pi

4 Posts
1 Users
1 Likes
1,224 Views
Posts: 1
Guest
Topic starter
(@Gregory)
New Member
Joined: 12 months ago

Can someone explain to me what is the difference between BCM and BOARD on Raspberry Pi?

3 Replies
Posts: 1
Guest
(@raspi)
New Member
Joined: 12 months ago

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.

Reply
2 Replies
 Glen
Guest
(@Glen)
Joined: 8 months ago

New Member
Posts: 2

Thank you!

Reply
Guest
(@Marck)
Joined: 1 second ago

New Member
Posts: 0

👍

Reply

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share:
Scroll to Top