Skip to content

Instantly share code, notes, and snippets.

@kingcoyote
Created August 20, 2014 20:14
Show Gist options
  • Save kingcoyote/5f81940f5e2cfa70c5ff to your computer and use it in GitHub Desktop.
Save kingcoyote/5f81940f5e2cfa70c5ff to your computer and use it in GitHub Desktop.
#ifndef WS2812_H
#define WS2812_H
typedef struct {
unsigned char r;
unsigned char b;
unsigned char g;
} ws2812_ptr;
// transmit a single WS2812
void ws2812_send(ws2812_ptr* led);
#endif /* WS2812_H */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment