From 9f92f6614d45e8ca5cd6bb1e4c1acacce6488750 Mon Sep 17 00:00:00 2001 From: Gabriel Marcano Date: Sun, 22 Dec 2024 23:30:38 -0800 Subject: 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. --- Cart_Reader/Cart_Reader.ino | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cart_Reader/Cart_Reader.ino b/Cart_Reader/Cart_Reader.ino index f83ea2d..8ff5c1c 100644 --- a/Cart_Reader/Cart_Reader.ino +++ b/Cart_Reader/Cart_Reader.ino @@ -3210,6 +3210,11 @@ uint8_t checkButton() { return 3; } + //Long Press (simulate) + else if ((incomingByte == 'l') || (incomingByte == 'L')) { + return 4; + } + return 0; } -- cgit v1.2.3