That's what I don't know.
If I try this on transmitter side:
and on receiver side:Code:main: adcin 7, adval pause 20 hserout [hex adval,13,10] pause 20 goto main
It works, but the result on LCD is unstable, the value sometimes jumping between 0 -255 randomly.Code:main: lcdout $fe,1 hserin 500, main, [hex datain] pause 20 lcdout $fe,$80, dec datain pause 20 goto main
I think this is not the right way how to send and receive serial data via BT .
Can I use hserout [dec adval,13,10] on transmitter side?
What about on receiver side hserin 500, main, [hex datain] not work,
maybe hserin 500, main, [str datain\3] ?




Bookmarks