that snippet shows no possible way to exit the while loop . how CAN THE PROGRAM VAR EVER CHANGE ???
ADCON1 = %00001110 ' set to digital outputs IS STILL WRONG read the data sheet adcon1 has no effect on setting inputs to digital at all
post the whole test code
Bookmarks