NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char RS485Control ( byte  cmd,
byte  baud,
unsigned int  mode 

Control the RS485 port.

Control the RS485 hi-speed port using the specified parameters.

cmdThe control command to send to the port. See Hi-speed port SysCommHSControl constants.
baudThe baud rate for the RS485 port. See Hi-speed port baud rate constants.
modeThe RS485 port mode (data bits, stop bits, parity). See Hi-speed port data bits constants, Hi-speed port stop bits constants, Hi-speed port parity constants, and Hi-speed port combined UART constants.
A char value indicating whether the function call succeeded or not.
This function requires the enhanced NBC/NXC firmware.