Serial.SerialPort
From Xojo Documentation
This item was deprecated in version 2019r2. Please use SerialConnection.Device as a replacement. |
Property (As SerialPort )
aSerial.SerialPort = newSerialPortValue
or
SerialPortValue = aSerial.SerialPort
Supported for all project types and targets.
or
SerialPortValue = aSerial.SerialPort
Supported for all project types and targets.
Used to identify the serial port to which the Serial control will communicate.
Example
The code below is from Examples/Communication/Serial/Line State Change Tester: