fusion-zauberstab/firmware/include/app.h

38 lines
572 B
C
Raw Normal View History

#pragma once
struct App {
void virtual init() = 0;
void virtual deinit() = 0;
void virtual loop() = 0;
};
struct BeatDetectApp : public App {
void init();
void deinit();
void loop();
};
2022-06-20 20:27:03 +02:00
struct VuMeterApp: public App {
void init();
void deinit();
void loop();
};
struct FFTTestApp: public App {
void init();
void deinit();
void loop();
};
struct FackelApp: public App {
void init();
void deinit();
void loop();
};
struct ImageDisplayApp: public App {
void init();
void deinit();
void loop();
};