SerialConnection.StopBit
From Xojo Documentation
Property (As SerialConnection.StopBits )
aSerialConnection.StopBit = newSerialConnection.StopBitsValue
or
SerialConnection.StopBitsValue = aSerialConnection.StopBit
New in 2019r2
Supported for all project types and targets.
or
SerialConnection.StopBitsValue = aSerialConnection.StopBit
New in 2019r2
Supported for all project types and targets.
The number of stop bits being used.
Notes
| Changing property values does not automatically change the state of the hardware, you must call Reset or re-Open the connection in order for the change to take effect. |
Set this property using the StopBits enumeration.
Example
This code sets the number of Stop bits in the Open event of the window.
SerialConnection1.StopBit = SerialConnection.StopBits.One
