XBee/BasicStamp Initialization time
ccreinhart
Posts: 7
Is it normal behavior for two BOE boards to have to wait about 10 seconds prior to communicating via XBee?
Both BOE boards are configured identically.
BOE w/ BS2 processor, XBee SIP adapter, XBee Series 1
Software is Simple_Byte_Rx.bs2 and Simple_Byte_Tx.bs2 exactly as shown in the documentation for the
SIP board and copied below:
Receiver:
Transmitter
Thanks,
Craig
Both BOE boards are configured identically.
BOE w/ BS2 processor, XBee SIP adapter, XBee Series 1
Software is Simple_Byte_Rx.bs2 and Simple_Byte_Tx.bs2 exactly as shown in the documentation for the
SIP board and copied below:
Receiver:
HIGH LED PAUSE 1000 LOW LED FREQOUT Buzzer, 200, 3000 ' ***************** Main Loop DO SERIN Rx, Baud, [State] ' Wait for byte and accept IF State = 1 THEN ' Based on value, HIGH LED ' if 1, Turn on LED FREQOUT Buzzer,200,3000 ' Sound buzzer ELSE LOW LED ' if 0, turn off LED ENDIF LOOP
Transmitter
' ***************** Main Loop DO State = PB ' Read pushbutton SEROUT Tx, Baud,[State] ' Send pushbutton value as byte PAUSE 250 ' short delay LOOP
Thanks,
Craig
Comments