...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Object Creation: The roSerialPort object is created with two parameters.
...
port
: The port enumeration of the serial device. Most standard RS-232 serial devices enumerate on port 0. If you are connecting .- To communicate with the serial port of an OPS display (i.e. with the HO523), use port 1.
- To communicate with a USB-serial device (such as a GPS receiver),
- use port 2.
baud_rate
: The baud rate for serial communication. The serial port supports the following baud rates: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400.
...