Digital Working

Digital IO is now working.
Its not ideal but the protocol seems to operate ok.