Switch from FastLED to Adafruit NeoPixel (more reliable on ESP32-S3 RMT)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <FastLED.h>
|
||||
#include <Adafruit_NeoPixel.h>
|
||||
|
||||
class PixelStompMux {
|
||||
public:
|
||||
@@ -29,8 +29,6 @@ private:
|
||||
uint8_t pin_clk;
|
||||
uint8_t pin_di;
|
||||
|
||||
CRGB leds[NUM_LEDS];
|
||||
Adafruit_NeoPixel strip;
|
||||
uint8_t last_button_state;
|
||||
|
||||
uint8_t shift_in_74hc165();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user