Skip to content

Instantly share code, notes, and snippets.

@atuline
Created August 4, 2018 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atuline/f93a54d4bad6af68241531085b11ef45 to your computer and use it in GitHub Desktop.
Save atuline/f93a54d4bad6af68241531085b11ef45 to your computer and use it in GitHub Desktop.
// Just a snippet from FastLED. This is not a complete program.
//FORWARD_HUES, BACKWARD_HUES, SHORTEST_HUES, LONGEST_HUES
fill_gradient(leds, startpos, CHSV(50, 255,255) , endpos, CHSV(150,255,255), SHORTEST_HUES);
fill_gradient(leds, NUM_LEDS, CHSV(50, 255,255), CHSV(100,255,255), LONGEST_HUES);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment