9-bit serial implementation

nzin:
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

Which version of the IDE do you have? The flush issue has only recently been fixed.