Are you sure you had the correct chip selected? I see a 16F1937 selected but that chip does not have ANSEL register.
It has ANSELA, ANSELB and ANSELE.
So the error message was correct!
Ioannis
Indeed! I must have changed the chip type by mistake with all the visits to the Compile button right next to it (The 16F1937 is the next one on the list)
See, my Australian friend, posting the pic in this case was far more enlightening than posting the code
Bookmarks