#ifndef SHAREDSTATE_H #define SHAREDSTATE_H #include 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