diff options
author | Ancyker <[email protected]> | 2023-03-29 21:05:01 -0400 |
---|---|---|
committer | Ancyker <[email protected]> | 2023-03-29 21:05:01 -0400 |
commit | 010b7e7525d542499d66528c8f4de743c697635d (patch) | |
tree | 999899ae8ff563b5ebe31de5b0017f145d8f6388 /Cart_Reader/SNES.ino | |
parent | 8d238f0fbc6b2fbc117a555b1587b773bab8bac1 (diff) | |
download | cartreader-010b7e7525d542499d66528c8f4de743c697635d.tar.gz cartreader-010b7e7525d542499d66528c8f4de743c697635d.zip |
Firmware Updater support, 3.3V Fix, and more
Lots of changes/additions.
Added:
* Firmware Updater support: Supports the Firmware Updater app (release to follow soon). Enabled by default, can be disabled in the config.
* 3.3V Fix (3V3FIX): Enable if you have stability issues when using 3.3V, works best with VSELECT. Disabled by default, can be enabled in the config.
* `DynamicClockSerial`: Class that extends and modifies HardwareSerial to be compatible with a dynamically changing clock speed. Used through the `ClockedSerial` object/variable.
* `OSCR.cpp` & `OSCR.h`: New files for storing globals. Only contains these new additions for now. More code cleanup to come.
Changed:
* Moved configuration flags to `Config.h` and documented them better.
* Removed `vselect()` function. Now uses `setVoltage()` with the params `VOLTS_SET_3V3` and `VOLTS_SET_5V`.
Known Issues:
* Rarely the LCD backlight turns white when using 3V3FIX. Resetting fixes it. Doesn't affect functionality/usability; it's just weird.
Diffstat (limited to 'Cart_Reader/SNES.ino')
-rw-r--r-- | Cart_Reader/SNES.ino | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino index c34dc3e..0231062 100644 --- a/Cart_Reader/SNES.ino +++ b/Cart_Reader/SNES.ino @@ -70,7 +70,7 @@ static const char* const menuOptionsRepro[] PROGMEM = { reproMenuItem1, reproMen // SNES repro menu void reproMenu() { - vselect(false); + setVoltage(VOLTS_SET_5V); // create menu with title and 6 options to choose from unsigned char snsRepro; // Copy menuOptions out of progmem @@ -133,7 +133,7 @@ void reproMenu() { // SNES start menu void snsMenu() { - vselect(false); + setVoltage(VOLTS_SET_5V); // create menu with title and 6 options to choose from unsigned char snsCart; // Copy menuOptions out of progmem @@ -192,7 +192,7 @@ void snsMenu() { // SNES Menu void snesMenu() { - vselect(false); + setVoltage(VOLTS_SET_5V); // create menu with title and 7 options to choose from unsigned char mainMenu; // Copy menuOptions out of progmem |