LED Strip

Introduction

An LED strip is a flexible circuit containing multiple small lights (LEDs), each capable of displaying a wide range of colors. When connected to a microcontroller, each individual light can be programmed to change color and timing with precision. This allows for the creation of dynamic lighting effects, patterns, and color sequences through carefully written instructions sent from the microcontroller.

Circuit Assembly

Connect the LED strip to any pin. In our example, we're using D5/D4, which corresponds to 5 in the code. You can remix yours to look like this:
• D11/D10 → LED_pin = 11;
• D9/D8 → LED_pin = 9;
• D7/D6 → LED_pin = 7;
• D5/D4 → LED_pin = 5;
• D3/D2 → LED_pin = 3;
• D1/D0 → LED_pin = 1;

Code

Related