Changed comments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user