This idea came when I left the pedal working in my studio during the night. It makes a cool red light and I thought that it would be cool to make a bedside table lamp with it, there is a similar code using bars of light to adjust the intensity. This one lights up all the LEDs and then adjust the amount of brightness.
Moving the encoder adjust the intensity
Pushing the encoder button enables the lamp completely OFF/ON