Hi Heinz > How about try Tips & Tricks - DS40040B, Hardware tip #5, and > #6, uses the variable rate to charge a cap, depending on the buttons > pressed, and a timer Yes, I saw that. It's a way to make a "virtual" A/D, something I've done in the past, before so many PICs had A/D http://home.clear.net.nz/pages/joecolquitt/0pots.html Something which is necessary when using the Scenix, which has/had none of the modular features PICs have Either the serial + DIP switch or parallel + BCD selector should do for this application, although I tend to favour the serial scheme with Vdd*2 because of the greater step differences Thanks for looking though Joe * * ********** Quality PIC programmers http://www.embedinc.com/products/index.htm --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .