Ledmap persistent/consistent and showing in segment graph +small changes

pio.ini: remove ping pong clock from _all
ce.js: change on error handling
liveviewws2D: add colorAdjust
json.cpp: ledmaps will be stored in json/info 
settings_2D: fieldChange at loadJS

FX_(2D)fcn.cpp:
- loadedLedmap default 0 (default)
- loadedLedmap active then only use if index <size

index.js:
- global ledmap set to active value
- draw to drawSegments
- gradient colored leds
- add ledmaps to graphics
- add fetchAndExecute (from custom effects), used by drawSegments to get ledmap contents
- graphics bigger in non pc mode
This commit is contained in:
Ewoud
2023-02-10 16:26:35 +01:00
parent 26f97f4dc6
commit 40e82166bc
12 changed files with 2477 additions and 2387 deletions

View File

@@ -666,7 +666,7 @@ build_flags_all =
-D USERMOD_MULTI_RELAY
-D USERMOD_PIRSWITCH
-D USERMOD_PWM_FAN
-D USERMOD_PING_PONG_CLOCK
; -D USERMOD_PING_PONG_CLOCK //Removed as dots is confusing
-D USERMOD_BUZZER
-D USERMOD_SN_PHOTORESISTOR
-D USERMOD_BME280
@@ -699,7 +699,7 @@ lib_deps = ${esp32.lib_deps} ${common_mm.lib_deps_min}
board_build.partitions = ${esp32.default_partitions}
board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz)
board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad i/o)
monitor_filters = esp32_exception_decoder ; used to show crash details
; monitor_filters = esp32_exception_decoder ; used to show crash details
;common default for all max environments
[esp32_4MB_max_base]