Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Insert excerpt
BrightScript Version Navigation Menu
BrightScript Version Navigation Menu
nopaneltrue
This object controls the RS-232 serial portthe serial port on the player, allowing you to receive input and send responsestransmit and receive serial data.

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),
    it will enumerate on
    • 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.

...