This s a temporary fix for display problems (corrupted display, sometimes crash). These problems exists since 0.14. as display updates are now running in a separate task. The fix is still incomplete. If nothing else works, you can use the 0.13.x behavior by compiling with `-D FLD_ESP32_NO_THREADS` * fixing a few unsafe string operations and non-initialized strings * fix max length for "two lines" names * make sure that display methods are exiting early if display is not configured * rotary_ALT : additional checks to ensure that drawing on the display does not overlap with redraw * added some safeguards to prevent overlapping display redraw operations --> Actually this should use semaphore/mutex instead of global booleans -> Still on my toDo list.
Usermods
This folder serves as a repository for usermods (custom usermod.cpp files)!
If you have created a usermod you believe is useful (for example to support a particular sensor, display, feature...), feel free to contribute by opening a pull request!
In order for other people to be able to have fun with your usermod, please keep these points in mind:
- Create a folder in this folder with a descriptive name (for example
usermod_ds18b20_temp_sensor_mqtt) - Include your custom files
- If your usermod requires changes to other WLED files, please write a
readme.mdoutlining the steps one needs to take - Create a pull request!
- If your feature is useful for the majority of WLED users, I will consider adding it to the base code!
While I do my best to not break too much, keep in mind that as WLED is updated, usermods might break.
I am not actively maintaining any usermod in this directory, that is your responsibility as the creator of the usermod.
For new usermods, I would recommend trying out the new v2 usermod API, which allows installing multiple usermods at once and new functions!
You can take a look at EXAMPLE_v2 for some documentation and at Temperature for a completed v2 usermod!
Thank you for your help :)