Update Cart_Reader.ino

- Add support for simulating a long press for the serial interface by
   seinding `l` or `L`. This lets someone actually run the SNES clock
   calibration using the serial interface.
This commit is contained in:
Gabriel Marcano 2024-12-22 23:30:38 -08:00
parent 62b8182dee
commit 9f92f6614d

View File

@ -3210,6 +3210,11 @@ uint8_t checkButton() {
return 3;
}
//Long Press (simulate)
else if ((incomingByte == 'l') || (incomingByte == 'L')) {
return 4;
}
return 0;
}