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:
-rw-r--r--Gyver_Ambilight_v1.3/Gyver_Ambilight_v1.3.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gyver_Ambilight_v1.3/Gyver_Ambilight_v1.3.ino b/Gyver_Ambilight_v1.3/Gyver_Ambilight_v1.3.ino
index 6aa2e6c..3eb8a68 100644
--- a/Gyver_Ambilight_v1.3/Gyver_Ambilight_v1.3.ino
+++ b/Gyver_Ambilight_v1.3/Gyver_Ambilight_v1.3.ino
@@ -91,7 +91,7 @@ waitLoop: while (!Serial.available()) check_connection();;
}
memset(leds, 0, NUM_LEDS * sizeof(struct CRGB));
- for (uint8_t i = 0; i < NUM_LEDS; i++) {
+ for (int i = 0; i < NUM_LEDS; i++) {
byte r, g, b;
// читаем данные для каждого цвета
while (!Serial.available()) check_connection();