Reading Sample [comread]

This is a sample program that reads data.

baud rate: 38400bps

data length: 8, stop bit: 1, parity: none

 

1. Input the port name to read data after the program starts.

(Example) When using only one COM-1(USB)H

              /dev/ttyUSB0

2. When data is received, the received data will be displayed on the CRT.

3. If the received data contains the character 'z' at the beginning, the program will terminate.