SPC  Version 0.9.5
 All Files Functions Groups Pages
SerialInCount

The SerialInCount returns the number of characters waiting in an input FIFO (First In, First Out) buffer of up to 255 entries.

Characters can be transferred from the host PC to the SuperPro via a terminal emulation program running at 115200bps, 8 bits, no parity. A program can wait for a character to become available using this value.

while ( SerialInCount == 0 ) ; //wait for a character