SLAU358Q September 2011 – October 2019
MSPGANG_SelectBaudrate sets the rate of the serial communications. The default is 9600 baud. Baud rate index 0 to 4, representing the baud rate. The Select Baud Rate command takes effect (that is, changes the baud rate) immediately.
Syntax
LONG MSPGANG_SelectBaudrate(LONG lBaud)
Arguments
LONG lBaud | Baud rate in bytes per second
0 = 9600 baud (default) 1 = 19200 baud 2 = 38400 baud 3 = 57600 baud 4 = 115200 baud |
Result
LONG | Error code |