Use Python's pySerial package for serial port control.

[Instructions]

1. com.ipynb

Use Python's pySerial package for serial port control.

Setting parameters:

• baudrate: baudrate

• port: serial port

• stopbits: the number of stop bits (serial.STOPBITS_ONE, serial.STOPBITS_ONE_POINT_FIVE, serial.STOPBITS_TWO)

• parity: parity check (serial.PARITY_NONE, serial.PARITY_EVEN, serial.PARITY_ODD, serial.PARITY_MARK, serial.PARITY_SPACE)

• t_sleep: sleep time

After the setting is completed, it can be executed.

After execution, you can see the control result of the serial port.

Jupyter-COM.png

This SDK is built in AppForAI - AI Dev Tools.

Purchase license separately: USD 600, permanent authorization, single APP authorization, single machine authorization, one-year activation, one-year download, one-year update, one-year email technical support.