I try to hook up dumb PWM strips to a ESP8266.
in NpbWrapper.h I uncommented #define WLED_USE_ANALOG_LEDS //Uncomment for using “dumb” PWM controlled LEDs (see pins below, default R: gpio5, G: 12, B: 15, W: 13)
When I try to compile (a out-of-the-box compile works great) I get the error:
sketch\FX_fcn.cpp: In member function ‘void WS2812FX::setRgbwPwm()’:
FX_fcn.cpp:931:7: error: ‘color’ was not declared in this scope
if (color == _analogLastColor && b == _analogLastBri) return;
^
FX_fcn.cpp:951:22: error: ‘color’ was not declared in this scope
_analogLastColor = color;
^
exit status 1
‘color’ was not declared in this scope
Do I have to uncomment something else?
(BTW how can I put my wifi credentials in the source code, to have them set up for the first boot? wled.h? Client SSID?)
Thank you!
EDIT: I compile under Windows 10 with the Arduino IDE
You mean, you cannot get it to compile after doing it twice? For some reason, the first compile sets up dependencies which allow it to compile the 2nd time.