To demonstrate the colours of the rainbow, I wanted to knock up a quick Arduino project that allowed any colour of the rainbow to be selected. The user input was simply a potentiometer, and the output was to be three LEDs – a red, green and blue. Working out how to map the potentiometer value […]