(WIP) RGB controller on Arduino w/ sync to main PC system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ws2812.h 290B

1234567891011121314151617
  1. #ifndef WS2812_H
  2. #define WS2812_H
  3. class CRGB {
  4. public:
  5. unsigned char r, g, b;
  6. CRGB() {};
  7. CRGB(unsigned char r, unsigned char g, unsigned char b) {
  8. this->r = r;
  9. this->g = g;
  10. this->b = b;
  11. };
  12. };
  13. void postLedUpdate(CRGB *leds, int len, int ledPin);
  14. #endif