I need to change the 7 seg display by turning the Potentiometer

I need to change the 7 seg display by turning the Potentiometer. Anyone got any tips? Thanks :slight_smile:

check - http://www.arduino.cc/en/Tutorial/AnalogInput - and - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206916512 or http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1270490474

In case you want to make the display vary from 0-9, you can use the map() function to convert your potentiometer's output from 0-1023 to 0-9 like so:

map(potval, 0, 1023, 0, 9);

the actual driving of the 7 segments is up to you :slight_smile: