I want to set values into this eight pin PIC and not having enough pins to do it digitally I thought that I will use the ADCs. A pot across the rails, wiper to an input, set Vref to Vdd and sample at about 4Hz. But it seems too easy. Are there hidden gotchas that require other components? --=20 __________________________________________ David C Brown 43 Bings Road Whaley Bridge High Peak Phone: 01663 733236 Derbyshire eMail: dcb.home@gmail.com SK23 7ND web: www.bings-knowle.co.uk/dcb --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .