Guest User

Untitled

a guest
May 29th, 2016
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. void fadeToColor(CRGB color) {
  2.   for (int i = 0; i < NUM_LEDS; i++) {
  3.     leds[i] = blend(leds[i], color, 10);
  4.   }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment