nerdegutta
Senior Member
Hi.
When I'm trying to sent w0 through rf it chuncks it down to b0. Why? And how do I get w0 on the receiver side?
TX:
RX:
The transmitter and receiver are these:
433MHz
- nerdegutta
When I'm trying to sent w0 through rf it chuncks it down to b0. Why? And how do I get w0 on the receiver side?
TX:
Code:
#no_data
Symbol ADCvalue = w0
symbol ADCpin = c.1
Symbol TXpin = c.0
Symbol Baud = N2400
Symbol ActLED = c.4
main:
gosub getADC
goto sendADCvalue
getADC:
readadc10 ADCpin, ADCvalue
return
sendADCvalue:
serout TXpin, Baud, ("UUUUUUUUUUUUUUUUUUUUUUUUU")
pause 50
serout TXpin, Baud, ("therm", ADCvalue)
pause 450
debug
toggle ActLED
goto main
Code:
#no_data
symbol ADCvalue = w0
symbol RXpin = C.6
symbol Baud = N2400
symbol ActLED = C.0
main:
do
serin c.3, N2400, ("therm"), ADCvalue
debug
loop
433MHz
- nerdegutta