diff --git a/firmware/test1/heizung-test1/src/main.cpp b/firmware/test1/heizung-test1/src/main.cpp index 945c3a36b0483222bf391ccad304aee639d317db..9045b6b908f021b8e14421dd8f47e3ab59cb684c 100644 --- a/firmware/test1/heizung-test1/src/main.cpp +++ b/firmware/test1/heizung-test1/src/main.cpp @@ -573,5 +573,11 @@ void loop() { Serial.println(Serial1.read()); } + if (!digitalRead(BOOT2)) { + analogWrite(LED_R, 128); + } else { + analogWrite(LED_R, 0); + } + delay(1); } \ No newline at end of file