Home:ALL Converter>reading from serial port pyserial rs485

reading from serial port pyserial rs485

Ask Time:2018-01-24T16:42:36         Author:lemming

Json Formatter

I found pySerial rs485 example -> https://github.com/pyserial/pyserial/blob/master/serial/rs485.py

Does anyone know how read function should look (any loop or specific sets RTS)? How I should implement communication (write my own data to device 1)->(read data from device 1)->(send data to device 2)

Thank You

Author:lemming,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48418140/reading-from-serial-port-pyserial-rs485
yy