The new code generator works fine :-) I just tested with the values from ADC and the display reads from 00.0 to 19.8 LINEAR! :-) If one was not follwoing the thread, the code that was tested can be generated from here: http://www.piclist.com/techref/a2dcodegenerator.asp Regards, -- Chetan Bhargava Web: http://www.bhargavaz.net Blog: http://microz.blogspot.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist