Restore full color cycle in animation, keep faster delays
This commit is contained in:
+1
-1
@@ -198,7 +198,7 @@ void DefaultLedStub::begin() {
|
||||
|
||||
// Launchpad X style: sweep each LED through palette, then all-off
|
||||
for (int i = 0; i < NUM_LEDS; i++) {
|
||||
for (int c = 1; c <= 127; c += 16) {
|
||||
for (int c = 1; c <= 127; c += 4) {
|
||||
uint32_t color = launchpad_palette[c];
|
||||
uint8_t r = (color >> 16) & 0xFF;
|
||||
uint8_t g = (color >> 8) & 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user