LEDs (Controlling using Python)

Learn to program using LED strips controlled by a Raspberry Pi.

Setup

Coding Lessons

Basic coding by controlling a LED light strip using a Raspberry Pi. The default is for the Raspberry Pi Pico Strips. The code is almost identitical for the Pi computers and the Pico microcontroller, however, they just use different default GPIO pins (board.D18 vs board.GP0)
  1. Lighting Lights (Basics)
  2. for Loops (with light sequences)
  3. Functions
  4. if statements
  5. while Loops
  6. Classes