Rotary encoder

This commit is contained in:
Dejvino
2026-02-27 06:33:46 +01:00
parent d30bac7ec5
commit 59b48c1ab3
4 changed files with 84 additions and 10 deletions
+10
View File
@@ -7,4 +7,14 @@ extern volatile unsigned long lastLoop0Time;
extern volatile unsigned long lastLoop1Time;
extern volatile bool watchdogActive;
struct Scale {
const char* name;
const float frequencies[8];
int numNotes;
};
extern const Scale SCALES[];
extern const int NUM_SCALES;
extern volatile int currentScaleIndex;
#endif // SHAREDSTATE_H