Skip to content

Instantly share code, notes, and snippets.

@dannystaple
Created June 25, 2017 14:58
Show Gist options
  • Save dannystaple/d9b19e712284fb7d0ff4612570b59455 to your computer and use it in GitHub Desktop.
Save dannystaple/d9b19e712284fb7d0ff4612570b59455 to your computer and use it in GitHub Desktop.
red = string.char(255, 0, 0)
blue = string.char(0, 0, 255)
ws2812.writergb(1, red:rep(30)..blue:red(30))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment