menu_book Course Curriculum (Raspberry Pi) expand_more
Linux & Setup
GPIO Digital I/O
Sensors & Buses
Automation
Networking & Services
GPIO pin numbering
Learn GPIO pin numbering in Raspberry Pi with a dedicated explanation, a concept-specific example, practical cautions, and a mastery check.
12 min read
•
Beginner
raspberry-pi-009.py
python
from gpiozero import LED
# gpiozero uses BCM GPIO numbering; GPIO17 is physical pin 11
led = LED(17)
print(led.pin)
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content