Refactor code structure for improved readability and maintainability, imporved matrix read, improved SB button read

This commit is contained in:
2025-12-06 09:03:02 +01:00
parent 60950e6a0c
commit 06fa584b6d
6 changed files with 211 additions and 91 deletions

View File

@@ -3,7 +3,8 @@
@author: Erik Tóth
@contact: etoth@tsn.at
@date: 2025-10-26
@brief: Header for FIRMWARE.cpp
@updated: 2025-12-06
@brief: Header for FIRMWARE.cpp (FIXED)
*/
#include <Arduino.h>
#include <Wire.h>
@@ -139,6 +140,7 @@ class SequencerBlock
unsigned long _lastStepTime;
unsigned long _playStartTime;
unsigned long _stepStartTime;
unsigned long _lastAddStepTime; // NEU: Rate-Limiting
// Status flags
bool _isRecording;