Is smarmengol Modbus software serial compatible with half duplex RS485 modules?

-dev:
FWIW, if I were modifying the library, I would fix the whole HW vs. SW serial port goofiness.The library should just hold on to a Stream * for the port pointer. I assume that port is declared like this:

    HardwareSerial *port;

If you change it to this:

    Stream *port;

Then it could hold on to any of the hardware or software serial ports. I guess I would have expected constructors that take a few params and a Stream *.

Seems like I have seen this modification somewhere recently...@pylon...

I'm a one-change-at-a-time type person. Especially when it comes to "clean-up programming".