Description
Serial ports can be opened and controlled from legacy Python 2 programs across platforms. PySerial helps scripts communicate with microcontrollers, modems, sensors, lab equipment, and other serial devices.
It may send commands to connected hardware. Verify port names, baud rates, and device protocols before running automation.