- Name
-
SetDataBits -- set data bits for serial port connection (V8.0)
- Synopsis
-
SetDataBits(id, bits)
- Function
-
This command can be used to set the number of data bits for the serial port connection specified
in
id
. This serial port connection must have been opened using OpenSerialPort() before.
You have to pass the desired data bits in the bits
parameter. This must be one of
the following special constants:
#DATA_5:
-
Use 5 data bits.
#DATA_6:
-
Use 6 data bits.
#DATA_7:
-
Use 7 data bits.
#DATE_8:
-
Use 8 data bits.
- Inputs
-
- id
- identifier of the serial port connection to use
- baud
- desired data bits
Show TOC