If the code hasn't been touched in this long, its probably release-worthy.

This commit is contained in:
2022-06-11 11:02:27 +02:00
parent 0c9eb831dd
commit d14fa7fde1
59 changed files with 1610 additions and 842 deletions

View File

@ -39,3 +39,4 @@ Buttons::read()
}
STATIC_ALLOC(Buttons);
STATIC_TASK(Buttons);

View File

@ -21,6 +21,14 @@ public:
return InputEvent{};
}
void handleEvent(const InputEvent& evt) override {
if (evt.intent == InputEvent::Beat) {
m_idx %= m_colors.size();
m_reset = true;
m_idx++;
}
}
void onStart() override {
m_reset = true;
}

View File

@ -63,3 +63,4 @@ MPU5060::read()
}
STATIC_ALLOC(MPU5060);
STATIC_TASK(MPU5060);