Hi,
I need a lot of WLED unit for my project, so I would like to change some default values.
Here’s a quick list :
*Led count from 30 to 60
*Led maximum current from 850 to 2500
*Time for macro 18, 00, etc.
*Default macro T=1, T=0 basic On/Off
*Get time from NTP Server to True by default
So I changed the code using VS Code :
*wled.h/188 : WLED_GLOBAL uint16_t ledCount _INIT(60); // overcurrent prevented by ABL
*wled.h/410 : WLED_GLOBAL byte timerHours[] _INIT_N(({ 18, 00, 7, 9, 0, 0, 0, 0 }));
*wled.h/412 : WLED_GLOBAL byte timerMacro[] _INIT_N(({ 1, 2, 1, 2, 0, 0, 0, 0 }));
*wled.h/270 : WLED_GLOBAL bool ntpEnabled _INIT(true);
*const.h/127: #define ABL_MILLIAMPS_DEFAULT 2500; //
And that’s it, i click compile and use the firmware.bin (travis_esp8266) for esp8266 Nodemcu V3. The problem is, when I do this WLED doesn’t work. I tried to do it step by step, but it doesn’t work. The interface and webserver is up, but there is no effect on light and only like 10 LEDS are white, and no preset value.
I use PyFlasher, and wipe all data at every flash.
edit : I also have another tab “DMX Output” added to the config, although I didn’t activate it in the code.
Thank you very much for this awesome project.
Regards