SerialPort_WriteChar
Writes single ASCII character to device.
Syntax
C++
Python
def SerialPort_WriteChar( state: SerialPortState, inCharacter: str, /, *, inPortId: int = 0 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | SerialPortState | |||
![]() |
inPortId | int | 0 - 7 | 0 | Identifies open port instance when working with multiple serial ports |
![]() |
inCharacter | str | Single character to send |


