Hi,
I’m trying to get a 14m to talk to a 08m over a serial wireless link. It seems the data is corrupt on the receiving end. I’m using this 4800 baud wireless pair http://www.sparkfun.com/commerce/product_info.php?products_id=7815
Here is the transmitter code on the 14M:
Main:
b2 = 5 'test value
serout 0, N2400, ("UUUUUUUUUUUUUTW", b2)
pause 5000
goto main
And the receiver code on the 08M:
main:
serin 4, N2400, ("TW"), b2
b0 = 11
SerTxD (#b0, 13, 10)
SerTxD (#b2, 13, 10)
pause 1000
goto main
In the terminal window I get values like 251 250… for b2.
I have tried different baud rates but still get the same.
I failed to notice the 14M does not do 4800 with serout. Could it be that this module needs to be run at 4800?
Thanks,
Pete
I’m trying to get a 14m to talk to a 08m over a serial wireless link. It seems the data is corrupt on the receiving end. I’m using this 4800 baud wireless pair http://www.sparkfun.com/commerce/product_info.php?products_id=7815
Here is the transmitter code on the 14M:
Main:
b2 = 5 'test value
serout 0, N2400, ("UUUUUUUUUUUUUTW", b2)
pause 5000
goto main
And the receiver code on the 08M:
main:
serin 4, N2400, ("TW"), b2
b0 = 11
SerTxD (#b0, 13, 10)
SerTxD (#b2, 13, 10)
pause 1000
goto main
In the terminal window I get values like 251 250… for b2.
I have tried different baud rates but still get the same.
I failed to notice the 14M does not do 4800 with serout. Could it be that this module needs to be run at 4800?
Thanks,
Pete