user42225: If I want to use a MAXIM 485 for a RS485 communication, is there any option to include the Control DE and RE' pin in a natural manner in the code, instead changing the control pin everytime I made a Serial.print()?
Should I overload the HardwareSerial object in order to add those pin operations everytime?

user4143: No, there isn't - you have to do it manually. And don't forget to flush.
You could inherit HardwareSerial if you really wanted - or just write a couple of functions to do the sending and controlling of the DE pin.

42225: <p>If I want to use a MAXIM 485 for a RS485 communication, is there any option to include the Control <code>DE</code> and <code>RE'</code> pin in a natural manner in the code, instead changing the control pin everytime I made a <code>Serial.print()</code>?</p>

<p>Should I overload the HardwareSerial object in order to add those pin operations everytime?</p>
 4143: <p>No, there isn't - you have to do it manually. And don't forget to flush.</p>

<p>You <em>could</em> inherit HardwareSerial if you really wanted - or just write a couple of functions to do the sending and controlling of the DE pin.</p>
