recently I’ve used a ttl to RS485 module having DE and /RE pin for direction control.
An example is this: http://yourduino.com/docs/RS485-Arduino-Module3-512.jpg
I’m using ModbusMaster library to communicate with some devices by using Modbus RTU over RS485 half duplex links.
A basic example is at: https://github.com/4-20ma/ModbusMaster/blob/master/examples/RS485_HalfDuplex/RS485_HalfDuplex.ino
If I will use the module with automatic direction control, what I need to do from hardware and software point of view ?
I mean, on hardware will be fine to connect TX, RX to Serial1 ? other than VCC and GND of course, and without adding other components.
Regarding software, will be fine to comment out every line of code that is managing DE and /RE ?
Thank in advance for your help!