(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.

main.h 265B

123456789101112131415
  1. #ifndef MAIN_H
  2. #define MAIN_H
  3. #include "ws2812.h"
  4. #include "eeprom.h"
  5. #define MAX_BRIGHTNESS 255
  6. #define LED_PIN 2
  7. #define NUM_LEDS 24
  8. extern CRGB leds[NUM_LEDS];
  9. CRGB *getPaletteColor(unsigned char index);
  10. CRGB *nextPaletteColor(unsigned char *counter);
  11. #endif