I tried to connect my PIC to PC
LCD shows value exactly as the reading ( 0 to 255 ), but the terminal program shows a 2 bytes combination ( 0 / 0 to 255 / 255 )
For example : at reading 0, LCD shows 0 and terminal shows 0 0,
at reading 255, LCD shows 255 and terminal shows 255 255,
How to make both display the same reading - I want PC terminal displays the same reading as LCD (0 to 255 )? Thank you
Code:
main:
adcin 0,reading
lcdout $Fe,1," value: "
LCDOUT $FE, $C0, dec reading
pause 50
hserout [reading]
pause 50
goto main
Bookmarks