1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef LED_RING_H
- #define LED_RING_H
- #include <FastLED.h>
- void led_setup();
- void led_setall(uint32_t color);
- void led_setall(uint8_t red, uint8_t green, uint8_t blue);
- /*
- #include <Arduino.h>
- #include <Adafruit_NeoPixel.h>
- #ifdef __AVR__
- #include <avr/power.h>
- #endif
- extern Adafruit_NeoPixel strip;
- #define LED_PIN 5
- void led_setup();
- void led_setall(uint32_t color);
- void led_setall(uint8_t red, uint8_t green, uint8_t blue);
- void led_examples();
- void colorWipe(uint32_t c, uint8_t wait); // Fill the dots one after the other with a color
- void rainbow(uint8_t wait);
- void rainbowCycle(uint8_t wait); // Slightly different, this makes the rainbow equally distributed throughout
- void theaterChase(uint32_t c, uint8_t wait); //Theatre-style crawling lights.
- void theaterChaseRainbow(uint8_t wait);
- uint32_t Wheel(byte WheelPos);
- */
- #endif
|