euclidean save state

This commit is contained in:
2025-06-29 22:41:28 -07:00
parent 16d47df926
commit 73f66c34c6
2 changed files with 7 additions and 1 deletions

View File

@ -9,7 +9,7 @@ struct AppState;
// Define the constants for the current firmware.
const char SKETCH_NAME[] = "Gravity";
const byte SKETCH_VERSION = 5;
const byte SKETCH_VERSION = 6;
// Define the minimum amount of time between EEPROM writes.
static const unsigned long SAVE_DELAY_MS = 2000;
@ -44,6 +44,8 @@ class StateManager {
byte base_shuffle;
byte cv_source; // Cast the CvSource enum to a byte for storage
byte cv_destination; // Cast the CvDestination enum as a byte for storage
byte euc_steps;
byte euc_hits;
};
// This struct holds all the parameters we want to save.
struct EepromData {