Jan-Erik, The first three commented lines were an experiment to see the effects of a time delay (2 ms) and the clearing of the AD interrupt flag, both of which failed, hence they were commented out. They are not included in the actual application. The other two commented lines are to read the LSB from bank 1, but since we can't get there, we commented them out to get a better idea of where the program was hanging. They are normally included in the application. Sorry for not including the clarification. Regards, Jim > Hi. > Just a minor thing... > > How are the commented lines related to your problems ? > Should they be commented all the time, or just in one > of the cases ? > > Jan-Erik. > > Paul James E. wrote: > >> Referring to the code snippet [snipped...] > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads