Sorry about the double post, I intended to post in the Serial forum. After I realized I had posted in the wrong one, I tried to delete my initial post but didn't see the option.
However, I read the first paragraph of the article you sent me and instantly realized what I had been doing wrong. I did not change the analog port to digital.
ANSELB = 0 ' Port B Digital
The sensor is working like a charm now.
Thanks so much for the help..
Ben
Bookmarks