Arduino RGB Mood Lamp with PWM Fading — Widescreen project video
Used three PWM pins to drive a common-cathode RGB LED through individual current-limiting resistors, with a sketch that smoothly cycles through color combinations using analogWrite ramps instead of hard color jumps. Housed it in a frosted plastic cup for diffusion. Learned a lot about how PWM duty cycle timing actually creates the fade effect while building this.
