How does the fpin (flow control pin) work in the SERIN and SEROUT commands on the BASIC Stamp II?
The optional fpin argument in the SERIN and SEROUT commands allows the use of an I/ O pin as a hardware flow control line between two BASIC Stamps IIs at baud rates of up to 19.2 kB. The flow control pin is always controlled by the receiving device (SERIN) and monitored by the sending device (SEROUT). The logical state of this pin and its meaning depend on the data mode, true or inverted, as specified within the baudmode parameter. If true data mode is selected, the receiving BASIC Stamp II holds the fpin low to indicate it is ready to receive or high to indicate it is not ready to receive. If inverted data mode is selected, the receiving BASIC Stamp II holds the fpin high to indicate it is ready to receive or low to indicate it is not ready to receive.
Related Questions
- Why do the BASIC Stamps output pins toggle briefly when I use the SLEEP, NAP or END commands or allow my program to end naturally?
- How does the fpin (flow control pin) work in the SERIN and SEROUT commands on the BASIC Stamp II?
- Can the BASIC Stamp generate more than one sine wave on a pin at the same time?