by roeiki11 » Tue May 04, 2010 11:37 am
by roeiki11
Tue May 04, 2010 11:37 am
OK, I came up with a simple solution, just sending "play" command to the serial port, as in this C# code example:
SerialPort port = new SerialPort("COM8", 57600, Parity.None, 8, StopBits.One);
// Open the port for communications
port.Open();
port.Write("PLAY 3\r\n");
// Close the port
port.Close();
just remember to put the controller at "program" mode and press "start"
OK, I came up with a simple solution, just sending "play" command to the serial port, as in this C# code example:
SerialPort port = new SerialPort("COM8", 57600, Parity.None, 8, StopBits.One);
// Open the port for communications
port.Open();
port.Write("PLAY 3\r\n");
// Close the port
port.Close();
just remember to put the controller at "program" mode and press "start"