![]() |
GaIA BIOS Library
|
This example shows an implementation of a buffered serial interface.
The application sends a counter string on serial port 0 (CN_SER0, next to the DIP swtich) and toggles the counter when a character is received. Incoming bytes are buffered if the application is not ready to read them immediately.
Serial port 0 configuration:
9600 baud, 8 data bits, no parity, 1 stop bit, append CR.