Different NEOPIXEL types
Same as #7728 but for 2.0.x, Lot of cleanup and remove references in whole code to other "LED files" than leds.h. Now will be much easier to add next drivers/libraries. e.g. FastLED. But bad news, currently FastLED is suporting only RGB devices (no RGBW)
This commit is contained in:
committed by
Scott Lahteine
parent
b30b55307c
commit
a11e6a1022
@@ -31,7 +31,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
void setup_neopixel();
|
||||
bool neopixel_set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const bool isSequence);
|
||||
bool neopixel_set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const uint8_t p);
|
||||
|
||||
extern Adafruit_NeoPixel pixels;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user