How To Blink An LED
Back to current versionRestore this version

Here's how to blink an LED connected to the GPIO bus on the Raspberry Pi using Python.

Description#

There's actually a few web pages that show how to do this — you could just search. But here's one that gives the Python code that shows how to use a keyboard interrupt, so you can Control-C and break out of the loop (properly).

Steps#

How to...#

Tags:  To Do


Tags:  Recipe, Hardware