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
Input will be modified ioState SerialPortState
Input value inPortId int 0 - 7 0 Identifies open port instance when working with multiple serial ports
Input value inCharacter str Single character to send