- Set the serial.rs485.RS485Settings() object for the rs485_mode property
in the Serial class of the pySerial module.
To use the serial.rs485.RS485Settings() object, import the
serial.rs485 class.
For details, refer to the source code of Sample Program.
Program example :
import serial
import serial.rs485