start on led driver
This commit is contained in:
@@ -3,6 +3,7 @@ set(SOURCES
|
||||
"TM1640/TM1640.cpp"
|
||||
"bottom_half.cpp"
|
||||
"wires.cpp"
|
||||
"leds.cpp"
|
||||
)
|
||||
|
||||
target_sources(${COMPONENT_LIB} PRIVATE ${SOURCES})
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#include "leds.h"
|
||||
|
||||
#define TAG "leds"
|
||||
#define PIXEL_COUNT 21
|
||||
#define NEOPIXEL_PIN GPIO_NUM_7
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef LEDS_H
|
||||
#define LEDS_H
|
||||
|
||||
#include "neopixel.h"
|
||||
|
||||
#endif /* LEDS_H */
|
||||
Reference in New Issue
Block a user