Not sure, but I think you are missing an "A"
Code:WPUDA = 0 ' Disable weak pull-ups IOCA = 0 ' Interrupt on change disabled VRCON = 0 ' Comparator Vref disabled
Not sure, but I think you are missing an "A"
Code:WPUDA = 0 ' Disable weak pull-ups IOCA = 0 ' Interrupt on change disabled VRCON = 0 ' Comparator Vref disabled
Dave
Always wear safety glasses while programming.
Many thanks mackrackit, it compiled cleanly after fixing that typo. Can't believe no one else has tried that sample code.
Bookmarks