menu_book Course Curriculum (Raspberry Pi) expand_more
Linux & Setup
GPIO Digital I/O
Sensors & Buses
Automation
Networking & Services
digital output LED
Learn digital output LED in Raspberry Pi with a dedicated explanation, a concept-specific example, practical cautions, and a mastery check.
12 min read
•
Beginner
raspberry-pi-010.py
python
from gpiozero import LED
from time import sleep
led=LED(17)
led.on(); sleep(1); led.off()
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content