8c44147a45
* Testing new wrapper functions to read Usermod config * Usermod Settings polishing - remove getBoolFromJsonKey() (no longer needed), fix getValueFromJsonKey(element, destination, defaultvalue) - Update Usermod Settings html "number" field to use step="any", and make wider to make maximum values fully visible - step="any" allows viewing/submitting full 7/8-digit float values, and the arrow buttons step by 1 now, instead of .00001 (which wasn't good for integers or floats) - html wasn't generated/compressed yet * Update usermod_v2_example.h with more complete example and documentation for Usermod Settings - readFromConfig() has three options for how to load values from the config JSON, we need to pick one * Update/rename usermode_rotary_brightness_color, to be used as an example of more robust parsing Usermod Settings values * Update Usermod example, rename getValueFromJsonKey() to getJsonValue() - chose single readFromConfig() pattern - demonstrating 3-argument getJsonValue() - remove leftover printf in getJsonValue() Co-authored-by: Louis Beaudoin <louis@embedded-creations.com> |
||
---|---|---|
.. | ||
404.htm | ||
dmxmap.htm | ||
edit.htm | ||
favicon.ico | ||
index.css | ||
index.htm | ||
index.js | ||
iro.js | ||
liveview.htm | ||
liveviewws.htm | ||
msg.htm | ||
rangetouch.js | ||
settings_dmx.htm | ||
settings_leds.htm | ||
settings_sec.htm | ||
settings_sync.htm | ||
settings_time.htm | ||
settings_ui.htm | ||
settings_um.htm | ||
settings_wifi.htm | ||
settings.htm | ||
style.css | ||
update.htm | ||
usermod.htm | ||
welcome.htm |