Lane difficulty added

This commit is contained in:
Carsten Graf
2025-09-11 13:56:07 +02:00
parent 3aac843736
commit 4f0fc68d41
7 changed files with 279 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ struct TimerData1 {
bool isRunning = false;
bool isReady = true; // Status für Bahn 1
bool isArmed = false; // Status für Bahn 1 (armiert/nicht armiert)
char RFIDUID = "";
};
// Timer Struktur für Bahn 2
@@ -33,6 +34,7 @@ struct TimerData2 {
bool isRunning = false;
bool isReady = true; // Status für Bahn 2
bool isArmed = false; // Status für Bahn 2 (armiert/nicht armiert)
char RFIDUID = "";
};
// Button Konfiguration
@@ -66,6 +68,11 @@ String masterlocation;
int gamemode; // 0=Individual, 1=Wettkampf
bool startCompetition = false; // Flag, ob der Timer gestartet wurde
// Lane Configuration
int laneConfigType = 0; // 0=Identical, 1=Different
int lane1DifficultyType = 0; // 0=Light, 1=Heavy (difficulty)
int lane2DifficultyType = 0; // 0=Light, 1=Heavy (difficulty)
// Function Declarations
void OnDataRecv(const uint8_t *mac, const uint8_t *incomingData, int len);
void handleLearningMode(const uint8_t *mac);