Changed comments

This commit is contained in:
Julian Appel 2025-01-26 16:43:23 +01:00
parent b0fa3ed6c5
commit d8faf85e30

View File

@ -78,6 +78,7 @@ void loop() {
{
// ========== LEDs entsprechend des Zustands setzen
digitalWrite(LED_QUIT, HIGH);
// EVTL blinken
// ========== Quittieren Button abfragen
currentButtonStateQuit = digitalRead(BTN_QUIT) == LOW; // Taster abfragen und aktuellen Zustand zwischenspeichern
@ -113,7 +114,7 @@ void loop() {
if(currentButtonStateAnlageEinAus == LOW) // Prüfen ob immernoch gedrückt
{
// Taster erfolgreich gedrückt => Anlage ausschalten
anlagenzustand = AUS; // Anlage in den Zustand "AUS" versetzen und damit starten
anlagenzustand = AUS; // Anlage in den Zustand "AUS" versetzen
}
buttonStateAnlageEinAus = currentButtonStateAnlageEinAus;
}
@ -178,7 +179,7 @@ void loop() {
if(currentButtonStateAnlageEinAus == LOW) // Prüfen ob immernoch gedrückt
{
// Taster erfolgreich gedrückt => Anlage ausschalten
anlagenzustand = AUS; // Anlage in den Zustand "AUS" versetzen und damit starten
anlagenzustand = AUS; // Anlage in den Zustand "AUS" versetzen
}
buttonStateAnlageEinAus = currentButtonStateAnlageEinAus;
}