feat: Add NeoPattern example and update API server functionality
- Add new NeoPattern example with pattern-based LED control - Update ApiServer with enhanced functionality - Modify neopixel example - Update platformio configuration
This commit is contained in:
@@ -92,3 +92,35 @@ build_src_filter =
|
||||
+<examples/neopixel/*.cpp>
|
||||
+<src/*.c>
|
||||
+<src/*.cpp>
|
||||
|
||||
[env:esp01_1m_neopattern]
|
||||
platform = platformio/espressif8266@^4.2.1
|
||||
board = esp01_1m
|
||||
framework = arduino
|
||||
upload_speed = 115200
|
||||
monitor_speed = 115200
|
||||
board_build.partitions = partitions_ota_1M.csv
|
||||
board_build.flash_mode = dout
|
||||
board_build.flash_size = 1M
|
||||
lib_deps = ${common.lib_deps}
|
||||
adafruit/Adafruit NeoPixel@^1.15.1
|
||||
build_flags = -DLED_STRIP_PIN=2
|
||||
build_src_filter =
|
||||
+<examples/neopattern/main.cpp>
|
||||
+<src/*.c>
|
||||
+<src/*.cpp>
|
||||
|
||||
[env:d1_mini_neopattern]
|
||||
platform = platformio/espressif8266@^4.2.1
|
||||
board = d1_mini
|
||||
framework = arduino
|
||||
upload_speed = 115200
|
||||
monitor_speed = 115200
|
||||
board_build.flash_mode = dio
|
||||
board_build.flash_size = 4M
|
||||
lib_deps = ${common.lib_deps}
|
||||
adafruit/Adafruit NeoPixel@^1.15.1
|
||||
build_src_filter =
|
||||
+<examples/neopattern/main.cpp>
|
||||
+<src/*.c>
|
||||
+<src/*.cpp>
|
||||
|
||||
Reference in New Issue
Block a user