Charles Price
Published © CC BY

RGB Magic Lantern

A paper lantern with the ability to change color at the turn of a knob.

IntermediateShowcase (no instructions)5 hours519
RGB Magic Lantern

Story

Read more

Code

circuitplayground-ColorChanger.uf2

JavaScript
This code changes the color of the board's LEDs based on the value of the potentiometer, and activates a rainbow swirl animation if the switch is turned on/off.
No preview (download only).

Credits

Charles Price

Charles Price

4 projects • 0 followers

Comments