simple communication between BS1 and BS2
Archiver
Posts: 46,084
I need to be able to send a simple on/off command from a BS1 to a BS2.
I was thinking about having a pin go high on the BS1 and having the
BS2 detect if the pin is high or low.
Does anyone have an example of this?
thanks
chad
I was thinking about having a pin go high on the BS1 and having the
BS2 detect if the pin is high or low.
Does anyone have an example of this?
thanks
chad
Comments
> I need to be able to send a simple on/off command from a BS1 to a
BS2.
> I was thinking about having a pin go high on the BS1 and having the
> BS2 detect if the pin is high or low.
>
> Does anyone have an example of this?
>
> thanks
> chad
I've been doing a lot of on/off signals between BS1 and BS2 stamps.
The best way is to use the Serout and Serin commands. Setting pins
high and low may work, but I've noticed some glitches in the BS1
chips that might cause this method to give inconsistent results.
The serin and serout commands work much better. See the "Networking
Multiple Stamps" App Note in the BS1 manual or the Parallax site for
a command usage reference. You won't need the connection to a PC or
associated hardware. However, make sure you have all chips in
your 'network' grounded together.
Hope this helps
Don