Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AlexGyver/Arduino_Ambilight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Gyver_Ambilight_v1.2/Gyver_Ambilight_v1.2.ino')
-rw-r--r--Gyver_Ambilight_v1.2/Gyver_Ambilight_v1.2.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gyver_Ambilight_v1.2/Gyver_Ambilight_v1.2.ino b/Gyver_Ambilight_v1.2/Gyver_Ambilight_v1.2.ino
index c42d737..90a58f0 100644
--- a/Gyver_Ambilight_v1.2/Gyver_Ambilight_v1.2.ino
+++ b/Gyver_Ambilight_v1.2/Gyver_Ambilight_v1.2.ino
@@ -49,7 +49,7 @@ void setup()
void check_connection() {
if (led_state) {
if (millis() - off_timer > (OFF_TIME * 1000)) {
- led_state = !led_state;
+ led_state = false;
FastLED.clear();
FastLED.show();
}