This is your code:
ANSEL = %00000000 ' everything is digital
ADCON0 = 0 ' disable ADC
CMCON0 = 7 ' no comparators
This is what it should be:
Al.Ansel = 0 ' disable analog
CMCON = 7 ' no comparators
This is your code:
ANSEL = %00000000 ' everything is digital
ADCON0 = 0 ' disable ADC
CMCON0 = 7 ' no comparators
This is what it should be:
Al.Ansel = 0 ' disable analog
CMCON = 7 ' no comparators
All progress began with an idea
Bookmarks