start on led driver

This commit is contained in:
Mitchell Marino 2024-08-05 23:11:59 -05:00
parent 370b28813b
commit f4e540b508
4 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,7 @@ set(SOURCES
"TM1640/TM1640.cpp" "TM1640/TM1640.cpp"
"bottom_half.cpp" "bottom_half.cpp"
"wires.cpp" "wires.cpp"
"leds.cpp"
) )
target_sources(${COMPONENT_LIB} PRIVATE ${SOURCES}) target_sources(${COMPONENT_LIB} PRIVATE ${SOURCES})

6
main/drivers/leds.cpp Normal file
View File

@ -0,0 +1,6 @@
#include "leds.h"
#define TAG "leds"
#define PIXEL_COUNT 21
#define NEOPIXEL_PIN GPIO_NUM_7

6
main/drivers/leds.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef LEDS_H
#define LEDS_H
#include "neopixel.h"
#endif /* LEDS_H */

View File

@ -1,5 +1,6 @@
## IDF Component Manager Manifest File ## IDF Component Manager Manifest File
dependencies: dependencies:
zorxx/neopixel: "*"
# iamflinks/i2c_lcd_pcf8574: "^1.0.1" # iamflinks/i2c_lcd_pcf8574: "^1.0.1"
lvgl/lvgl: "^8.1" lvgl/lvgl: "^8.1"
atanisoft/esp_lcd_ili9488: "^1.0.9" atanisoft/esp_lcd_ili9488: "^1.0.9"