when i use serial RTU and RS-485 wires, how do i set set RTS high and low.
i know i gotta to do it in the source codes, like for read_holding_register request , i need to set it high to send the request and low to receive the response from slave.
and for the slave Linux box, i need to set RTS high to send a reponse back to master and set it low right after that.
where do i do that ?
i know i can setRTS using pyserial.