Im having some trouble figuring out a logic problem ;)
I can easily contorl a RGB LED with 3 potentiometers. Each pot controls one of the color with a value between 1-255.
However, im not sure how i could make a RGB LED cycle thru all the colors using a single Potentiometer. It would be even better if i didn't have to use a arduino.
The goal is to make a RGB Reading Lamp. So the less components the better. If i have to use an arduino ill probably add some nifty sensors, like Light sensor and proximity sensor.