Thanks. I am only looking for 5 bit accuracy. On 13 September 2015 at 15:28, Isaac Marino Bavaresco < isaacbavaresco@yahoo.com.br> wrote: > It is that simple. The only drawback is that your values will > approximate, unless you need just a few values and translate a range to > a single value. > > Isaac > > > Em 13/09/2015 09:45, David C Brown escreveu: > > 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? > > > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=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 .