Skip to content

Instantly share code, notes, and snippets.

@ewust
Created December 14, 2013 09:25
Show Gist options
  • Save ewust/7957243 to your computer and use it in GitHub Desktop.
Save ewust/7957243 to your computer and use it in GitHub Desktop.
function initializer(lights) {
// Set the strand to full brightness
for (i=0; i<100; i++) {
lights[i].a = 1;
}
// Return our update function
return update;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment