Reeversed data channel bit order.
Tidied up overloaded writePin methods.
Added flashing test code for data channel.