Thanks to this project, you will have a bed light with a neopixel strap.
The differentiating part of this project is that an encoder is used to regulate the desired color as well as the brightness of the light; in turn, it has a 1 minute timer to turn off automatically.
The internal encoder button is used to select the color and the wheel is used to adjust the brightness.
On the other hand, the colors are preselected in the code, so if we want to add new colors we have to do it from the Arduino code.
For changing the colors or adding new ones, you just need to create another If clause in the code and add the new color.