0% found this document useful (0 votes)
43 views9 pages

Raspberry Pi Python Gpio

This document discusses two options for referring to Raspberry Pi GPIO pins in Python code: GPIO.BOARD specifies pins by their physical number on the board, while GPIO.BCM refers to pins by their Broadcom channel number listed in diagrams of the board layout.

Uploaded by

Aashutosh Tiwari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views9 pages

Raspberry Pi Python Gpio

This document discusses two options for referring to Raspberry Pi GPIO pins in Python code: GPIO.BOARD specifies pins by their physical number on the board, while GPIO.BCM refers to pins by their Broadcom channel number listed in diagrams of the board layout.

Uploaded by

Aashutosh Tiwari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Raspberry Pi Python

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:

You might also like