First of all, great work with the code !! thanks.
The problem was solved for me enabling DTR when opening the COM port. It looks like it is needed when working with Leonardo.
serialPort = new SerialPort(portName, baudRate, Parity.None, 8, StopBits.One);
serialPort.DtrEnable = true;
First of all, great work with the code !! thanks.
The problem was solved for me enabling DTR when opening the COM port. It looks like it is needed when working with Leonardo.
serialPort = new SerialPort(portName, baudRate, Parity.None, 8, StopBits.One);
serialPort.DtrEnable = true;