Datasheet page 8. RX pin is also AN11, you should disable it.
Datasheet page 120, table 9-2
ANSELH=0
Datasheet page 8. RX pin is also AN11, you should disable it.
Datasheet page 120, table 9-2
ANSELH=0
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
thanks guys, ANSELH=0 fix the code, now is working. sorry but I AM new to micro programming.
You're welcome. We all have to begin somewhere, and one day we all had problem like that.
In case of doubt, refer to the following thread
http://www.picbasic.co.uk/forum/showthread.php?t=561
Post #2 have a nice PDF, i suggest you to keep it handy somewhere on your hard drive.
Have fun!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks