>If this was the only problem then I think it can be easily overcome. >H1 = Read High >L = Read Low >H2 = Read High >if H1 != H2 >......... Sure, that would fix the scenario I outlined, but the original post did not seem to have considered this possibility, irrespective of the further problems you show as noted in the errata sheet :) -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads