RGB LED output
Mix colours
D9
D10
D11
Presets
Pin waveform
- LED on time
- Pin HIGH time
- analogWrite()
The waveform shows ideal 0 V and 5 V levels. Slow pulses show the selected channel by itself.
Wire an Arduino Uno R3
| LED lead | Connect to |
|---|---|
| Red | D9 through 330 Ω |
| Green | D10 through 330 Ω |
| Blue | D11 through 330 Ω |
| Common | GND |
Use one resistor per colour. Identify the leads from your LED’s datasheet before wiring.
Arduino sketch
Match the target colour
Use the three sliders, then check your mix.