SLAU358Q September 2011 – October 2019
MSPGANG_InitCom opens a communications port, sets the baud rate and checks if the MSP-GANG Programmer is present.
Syntax
LONG MSPGANG_InitCom(LPTSTR lpszPort, LONG lBaud)
Arguments
char * lpszComPort | Name of the port |
LONG lBaudRate | Baud rate |
Result
LONG | Error code |