My bad perhaps, ANSELE is not implemented in the 28pin devices (722, 723, 726), only in the larger variants in the family. ANSELA and ANSELB should work though.
PBP has a default CONFIG for each device which it uses if you don't tell it otherwise. You can either override the CONFIG in your programmer software or put the changes in your code (recommended). If you have PBP3 the open the manual and look at the #CONFIG directive, that's what you use to override the defaults. If you have an older version you need to either edit/change the default config OR comment it out and add your own in your code. For more info on that, take a look at this thread.
/Henrik.
Bookmarks