MODSERIAL and RS485

14 Apr 2011

Hi Andy, I got a question about the MODSERIAL library. How can I do a RS485 direction control with it? Do I need to hook into the ISR or has it got some inbuilt function for this already?

(BTW I'm new here and tried to post this in the MODSERIAL section but can't see how)

Cheers Andreas

14 Apr 2011

modserial is a simple serial port (rs232 style). there's no notion of direction control so you'd need to build your own library to manage this as the change of direction is often decided by the protocol and that's not something modserial can know in advance.