Skip to content

Commit

Permalink
fixed define of animation delay
Browse files Browse the repository at this point in the history
  • Loading branch information
DEvil0000 committed Sep 22, 2019
1 parent 9673d80 commit 56f6104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/led_animation_rainbow.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#define NUM_RAINBOW_CYCLES 5
// animation delay config
#define ANIMATION_DELAY 10
#define ANIMATION_RAINBOW_DELAY 10

uint32_t colorLookupRainbow(int pixel_pos)
{
Expand Down Expand Up @@ -67,7 +67,7 @@ void doRainbow()
}

pixels.show(); // This sends the updated pixel color to the hardware.
delay(ANIMATION_DELAY); // Delay for a period of time (in milliseconds).
delay(ANIMATION_RAINBOW_DELAY); // Delay for a period of time (in milliseconds).
}
}

Expand Down

0 comments on commit 56f6104

Please sign in to comment.