#endif
#include "musical_notes.h"
+#include "stdbool.h"
__attribute__ ((weak))
float fauxclicky_pressed_note[2];
__attribute__ ((weak))
float fauxclicky_beep_note[2];
+bool fauxclicky_enabled;
+
//
// tempo in BPM
//
fauxclicky_stop(); \
} while (0)
+// toggle
+#define FAUXCLICKY_TOGGLE do { \
+ if (fauxclicky_enabled) { \
+ FAUXCLICKY_OFF; \
+ } else { \
+ FAUXCLICKY_ON; \
+ } \
+} while (0)
+
//
// pin configuration
//