Does it give you a reading if you don't switch VRef?
I'm guessing you have the TRIS and/or ANSEL set wrong for the particular pin (GP4) but you don't show that part of your code so it's hard to say.
/Henrik.
Does it give you a reading if you don't switch VRef?
I'm guessing you have the TRIS and/or ANSEL set wrong for the particular pin (GP4) but you don't show that part of your code so it's hard to say.
/Henrik.
Bookmarks