20 lines
401 B
C
20 lines
401 B
C
#ifndef SHAREDSTATE_H
|
|
#define SHAREDSTATE_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
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
|