Skip to content

Commit

Permalink
Quick fix for Arduino Leonardo/Micro
Browse files Browse the repository at this point in the history
  • Loading branch information
ShendoXT committed Jan 7, 2023
1 parent 242c98b commit 9114f5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MemcardRex/Hardware/MemCARDduino.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ public string StartMemCARDuino(string ComPortName, int ComPortSpeed)
OpenedPort.DtrEnable = false;
Thread.Sleep(2000);

//Required for Arduino Leonardo and Micro
OpenedPort.DtrEnable = true;

//Check if this is MCino
SendDataToPort((byte)MCinoCommands.GETID, 100);
ReadData = ReadDataFromPort();
Expand Down

0 comments on commit 9114f5a

Please sign in to comment.