fix-brightness-issue-375 (#594)

This commit is contained in:
berrak
2022-12-03 18:02:40 +01:00
committed by GitHub
parent 231a7cf295
commit b8cd657cd7

View File

@@ -75,6 +75,10 @@ void loop()
}
// apply dimming
brightness += direction;
strip.SetPixelColor(0, red);
strip.SetPixelColor(1, green);
strip.SetPixelColor(2, blue);
strip.SetBrightness(brightness);
// show the results