forked from Makuna/NeoPixelBus
fix-brightness-issue-375 (#594)
This commit is contained in:
@@ -75,6 +75,10 @@ void loop()
|
|||||||
}
|
}
|
||||||
// apply dimming
|
// apply dimming
|
||||||
brightness += direction;
|
brightness += direction;
|
||||||
|
|
||||||
|
strip.SetPixelColor(0, red);
|
||||||
|
strip.SetPixelColor(1, green);
|
||||||
|
strip.SetPixelColor(2, blue);
|
||||||
strip.SetBrightness(brightness);
|
strip.SetBrightness(brightness);
|
||||||
|
|
||||||
// show the results
|
// show the results
|
||||||
|
Reference in New Issue
Block a user