ARDUINO MEGA Functions Serial Link
From ROBOTC API Guide
ARDUINO → Functions and Variables → ARDUINO MEGA Functions Serial Link
|
| |||||||
getChar
| short getChar(const TUARTs nPort) | |||||||
| (short) Function will retrieve the next character from the buffer that was sent to port 'nPort'.
|
sendChar
| void sendChar(const TUARTs nPort, short nChar) | ||||||||||
| (void) Function will send the next character to port 'nPort'.
|
setBaudRate
| void setBaudRate(const TUARTs nPort, TBaudRate nBaudRate) | ||||||||||
| (void) Function will set the Baud Rate for port 'nPort'.
Acceptable Baud Rates: 4800, 9600, 19200, 38400, 57600, 115200, 230400.
|