Send and Receive Number Using SEROUT / SERIN
Hi,
··· I have 2 BS2's connected and I am able to send a character between them. My problem is I need to send a number like 360 from one to the other. Can anyone help me out with the commands I need on the Master and Slave?
··· I have 2 BS2's connected and I am able to send a character between them. My problem is I need to send a number like 360 from one to the other. Can anyone help me out with the commands I need on the Master and Slave?
Comments
Master
Reset:
Command = 99
SEROUT Slave\FC, Baud, 200, ResetIt, [noparse][[/noparse]DEC2 Command]
DEBUG "success"
STOP
ResetIt:
GOTO Reset
PAUSE 100
SLAVE
ResetController:
SERIN ComLine\FC, Baud, 200, ResetController, [noparse][[/noparse]DEC2 Command]