File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 9696build_flags =
9797 -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
9898 -D ARDUINO_ARCH_ESP32
99- -D WLED_DISABLE_INFRARED
100- -D WLED_DISABLE_ANALOG_LEDS
101- # disable ANALOG LEDS because the analogWrite-function needs to be adapted to ESP32
102- -D WLED_DISABLE_ANALOG_LEDS
99+ -D WLED_DISABLE_INFRARED
103100
104101# see: http://docs.platformio.org/en/latest/platforms/espressif8266.html
105102[env:nodemcuv2]
@@ -135,6 +132,7 @@ framework = ${common.framework}
135132build_flags =
136133 ${common.build_flags}
137134 ${common:esp8266_1M.build_flags}
135+ -D WLED_USE_ANALOG_LEDS
138136 -D WLED_DEBUG
139137lib_deps =
140138 ${common.lib_deps_external}
@@ -148,6 +146,7 @@ framework = ${common.framework}
148146build_flags =
149147 ${common.build_flags}
150148 ${common:esp8266_1M.build_flags}
149+ -D WLED_USE_ANALOG_LEDS
151150 -D WLED_USE_5CH_LEDS
152151 -D WLED_DEBUG
153152lib_deps =
Original file line number Diff line number Diff line change 3333// #define WLED_DEBUG
3434
3535// to toggle using analog RGB or RGBW led strips (un)comment the following line
36- // #define WLED_DISABLE_ANALOG_LEDS
36+ // #define WLED_USE_ANALOG_LEDS
37+
38+ // to toggle using 5CH analog RGBWS led strips (un)comment the following line
39+ // #define WLED_USE_5CH_LEDS
3740
3841// library inclusions
3942#include < Arduino.h>
8891#endif
8992
9093#ifdef ARDUINO_ARCH_ESP32
91- #define WLED_DISABLE_ANALOG_LEDS // Solid RGBW not implemented for ESP32 yet
94+ #undef WLED_USE_ANALOG_LEDS // Solid RGBW not implemented for ESP32 yet
9295 /* #ifndef WLED_DISABLE_INFRARED
9396 #include <IRremote.h>
9497 #endif*/ // there are issues with ESP32 infrared, so it is disabled for now
You can’t perform that action at this time.
0 commit comments