Create writeData

Given a motor number, speed, and a two-byte long time, select a COM port and write to arduino