@@ -0,0 +1,633 @@
+#! /usr/bin/python%0D%0Aimport serial%0D%0Aimport time%0D%0Adef setSpeed(ser, motor, direction, speed):%0D%0A    if motor == 0 and direction == 0:%0D%0A        sendByte = chr(0xC2)%0D%0A    if motor == 1 and direction == 0:%0D%0A        sendByte = chr(0xCA)%0D%0A    if motor == 0 and direction == 1:%0D%0A        sendByte = chr(0xC1)%0D%0A    if motor == 1 and direction == 1:%0D%0A        sendByte = chr(0xC9)%0D%0A    ser.write(sendByte)%0D%0A    ser.write(chr(speed))%0D%0A%0D%0Aser = serial.Serial('/dev/ttyUSB0', 19200, timeout = 1)%0D%0A%0D%0AsetSpeed(ser, 0 , 1 , 100)%0D%0AsetSpeed(ser, 1 , 1 , 100)%0D%0Atime.sleep(1)%0D%0AsetSpeed(ser, 0 , 0 , 0)%0D%0AsetSpeed(ser, 1 , 0 , 0)%0D%0Atime.sleep(1)%0D%0Aser.close()%0D%0A

Add initial motortest code