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:
authorAlex <beragumbo@ya.ru>2018-06-08 12:20:31 +0300
committerAlex <beragumbo@ya.ru>2018-06-08 12:20:31 +0300
commit5fde8936e754b15b0322aa44dc7dab357cb179f0 (patch)
tree97086ea3b1e4d8b199e3e90d81b450c64becab41
parent176d3b19099d6cd6b0744354bae985da41c55ab6 (diff)
add
-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();
}