But, just out of curiosity, and to heed Arthur Conan Doyle, I checked the P24F08KL302.c DEF file, and son-of-a-gun, ANSELA and ANSELB are defined?!?!
So I added the following to my code, and Yhoo Hoo! Off it went!!!
Code: Select all
ANSELA = 0;
ANSELB = 0;