Rainbow LEDs
- Lucy Emmett
- May 7, 2018
- 1 min read

This is a little project I did to change the colour of a strip of LEDs to go through the rainbow at varying speeds that you can control with the Me Slide Potentiometer. I actually put this behind my computer monitor to back light it. It looks really cool. Although this isnt perfect because technically the brightness isn’t constant, but that isn’t something i am bothered about.
This is the code:

Please let me know if there are any misunderstandings or if you have a better way to do this. Also, if you have any projects you think i would enjoy doing, let me know!
Hozzászólások