Mister_E,
thaks for your suggestion.
I tried several ansel settings
from
ANSEL=%01000000
to
ANSEL=%10000000
to
ANSEL=%01000110
and a dozen similar versions.
when I switch on the LCD shows for half a second "Value:03" and then
"Value:00"
Yes..its because of internal bit during startup.
Switched an Lcdout $FE,1,"Hello"
Pause 500
into just to show the PIC works and goes through the loop.
I could switch input to any RB exept RB03 which is used for the LCD.
Input voltage is now 0-2,5V .just for checking purposes.
Do I need a reference voltage?
Bookmarks