Updated bit banging code to handle long cables. Better support for start sequence.