diff options
Diffstat (limited to 'examples/ColorPalette/ColorPalette.ino')
-rw-r--r-- | examples/ColorPalette/ColorPalette.ino | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ColorPalette/ColorPalette.ino b/examples/ColorPalette/ColorPalette.ino index 4d64efb3..6ccd5c1b 100644 --- a/examples/ColorPalette/ColorPalette.ino +++ b/examples/ColorPalette/ColorPalette.ino @@ -62,7 +62,7 @@ void FillLEDsFromPaletteColors( uint8_t colorIndex) { uint8_t brightness = 255; - for( int i = 0; i < NUM_LEDS; i++) { + for( int i = 0; i < NUM_LEDS; ++i) { leds[i] = ColorFromPalette( currentPalette, colorIndex, brightness, currentBlending); colorIndex += 3; } @@ -101,7 +101,7 @@ void ChangePalettePeriodically() // This function fills the palette with totally random colors. void SetupTotallyRandomPalette() { - for( int i = 0; i < 16; i++) { + for( int i = 0; i < 16; ++i) { currentPalette[i] = CHSV( random8(), 255, random8()); } } |