Is it possible to make an interface to connection two Basic Stamp microcontroll
Will Kwok
Posts: 2
Then we can make a series interface and extend the I/O of a system.
but it's really a problem to me, I dunno how to do that
thx
but it's really a problem to me, I dunno how to do that
thx
Comments
Use SEROUT from the 'master' to talk to the 'slave'. Use 'SERIN' on the slave to listen to the master.
But it does depend on what you want to "extend the I/O of a system" for. The 74HC595 and 74HC164 are parallel to serial and serial to parallel chips that extend the BS2's I/O using SHIFTOUT and SHIFTIN statements.