I had spent umpteen hours trying to find the problem in hardware, thinking that there could never be a compiler issue. I'm too used to programming in other environments where compiler issues are as ra ...
My program includes the command "setup_comparator(A0_VR_A1_VR)". When I look at the .lst file it has been translated into...
MOVLW 02
BSF 03.5
MOVWF 30
MOVF 05,W
IORLW 03
MOVWF 05
MOV ...