The alone thing that i'm not happy with is the flush method after writing data on the serial link. It is not working as i was expecting, so i used delay() before telling the rs485 to switch back to listening state
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16