main.h 351 B

1234567891011121314151617181920
  1. //
  2. // Created by emilr on 2022-04-13.
  3. //
  4. #include <Arduino.h>
  5. #include "../.pio/libdeps/esp32doit-devkit-v1/Adafruit NeoPixel/Adafruit_NeoPixel.h"
  6. #define LED_PIN 4
  7. #define NUM_LEDS 10
  8. #ifndef UNTITLED_MAIN_H
  9. #define UNTITLED_MAIN_H
  10. extern Adafruit_NeoPixel leds;
  11. struct light {
  12. int mapped;
  13. uint32_t color;
  14. };
  15. #endif //UNTITLED_MAIN_H