|
The BS2 is capable of Serin/Serout. there are pins on the chip that correspond to Serial RX and Serial TX (Transmission and Recieving of data). To use a spike relay with one of the bs2's simple the Black wire is a ground wire and the white and red wires are input on the relay. Red for reverse and white for forward. The problem I am having though is that using "Input" requires either a high or a low voltage. If there is no voltage present then the state of InX is apparently random. (Page 155 in the Basic Stamp Manual Ver 2.0) I didn't sound right when I read it, but when I used the Debug function it appeared to be true
|