/* Basic Arduino uno sketch to send out commands from Arduino TX pin serially to the spectrum st4's i/0 port. Tip being Spectrum TX and Arduino RX Ring being Spectrum RX and Arduino TX - where serial.write goes to. Sleeve being Ground. */ void setup() { Serial.begin(57600); //Baud 230400, 8 data, 1 Stop, No Parity Serial.println("Arduino Started - send motor move command "); } void loop() { Serial.println("G1 X10000 Y50000"); //H indicated analog section delay(5000); Serial.print("G1 X-10000 Y-50000\r\n"); //H indicated analog section delay(4000); }