peatatnaples
New Member
Although I can transmit data from one 08M2 to another using serin/serout using a wire connection and by using a cheap 433mHz wireless connection I am consistently failing to get two xrf modules to talk to each other. The transmitting 08M2 is producing an increasing value from 1 to 10 in a loop and the receiving one uses this value to produce an increasingly longer flash on an LED.
I have studied SRNET's post about xrf working out of the box and info supplied with xrf and believe I have done every thing correctly. If I connect the heartbeat LEDs they are flashing so I presume the units are functional.
Suggestions please.
Peat
Code:
Transmitter
init:setfreq m8
asktx:
for b0= 1 to 10
pause 200
serout 4, T9600_8,(88,88,88,88,b0)
pulsout 1,200
pause 4000
next b0
goto asktx
Receiver
init:setfreq m8
high 4
askrx:
pause 100
serin 4, T9600_8,(88,88,88,88), b0
pulsout 2,200
w1=b0*200
high 1
pause w1
low 1
goto askrx
Suggestions please.
Peat
Attachments
-
750.8 KB Views: 24