Lane difficulty added
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user