You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Implement function **onUpdate** to define what happens if data changes
63
63
* struct UpdatedItem defines the update (parent control (including index in case of multiple records), name of control and value)
64
-
*This runs in the httpd / webserver task. To run it in another task (application task) use runInAppTask - see [ModuleLightsControl](https://github.com/MoonModules/MoonLight/blob/main/src/MoonLight/ModuleLightsControl.h)
64
+
*UpdatedItems are created in the httpd / webserver task and via the loop() function sent to onUpdate running in the Sveltekit task. e.g. see [ModuleLightsControl](https://github.com/MoonModules/MoonLight/blob/main/src/MoonLight/ModuleLightsControl.h)
; ; If you don't set PARLIO_PINS it's OK, it just sets all pins to disabled. Still "outputs" tho.
133
-
; -D PARLIO_PINS=2,3,4,5,6,20,21,22,23,26,27,32,33,36,47,48 ;; GPIOs beyond 36 require some special ESP32-P4 LDO code or 47,48 don't work- added to WLED::setup()!
134
-
; -D IMAGECACHE_BG_PRIORITY=1 ;; 1 is the lowst real priority, least run. 5 slows other things down.
; -D WLED_USE_ETHERNET ;; Coexistence is slower but both work now. Ethernet is preferred automatically.
137
-
; -D WLED_USE_ETHERNET_ONLY ;; Disable WiFi for performance reasons - on the P4 it needs high priority background tasks to talk to the C6
138
-
; ; -D WLED_DEBUG
139
-
; -D NDEBUG ;; comment this out if REALLY debugging for things like Parallel IO, PPA, etc
140
-
; -D ARTNET_TIMER
141
-
; -D MAX_LEDS=65535 ;; 18432
142
-
; -D MAX_LEDS_PER_BUS=65535 ;; 18432
143
-
; -D MAX_LED_MEMORY=64000000 ;; times ONE HUNDRED
144
-
; -D DEFAULT_LED_TYPE=TYPE_NET_ARTNET_RGB
145
-
; -D LEDPIN=192 ;; at least get 192.x.x.x set properly for Art-Net
146
-
; -D BTNPIN=46 ;; Boot button is on GPIO 35 and works as a "button", but polling it messes up Ethernet.
147
-
; -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=30000
148
-
; -D BOARD_HAS_PSRAM
149
-
; -D WLED_USE_PSRAM
150
-
; ; -D WLED_USE_PSRAM_JSON
151
-
; ; -D ALL_JSON_TO_PSRAM
152
-
; -Wno-deprecated-declarations
153
-
; -Wno-attributes
154
-
; -D ESP_PLATFORM=1
155
-
; -D WLED_USE_MY_CONFIG
156
-
; -g
157
-
; -D FASTLED_NO_FASTLED
158
-
; -D WLED_RELEASE_NAME=ESP32-P4_16MB
159
-
; -D WLED_WATCHDOG_TIMEOUT=100 ;; Setting >0 will make the watchdog not panic. Workaround for now.
160
-
; -D USERMOD_AUDIOREACTIVE
161
-
; -D USERMOD_AUTO_PLAYLIST
162
-
; -D UM_AUDIOREACTIVE_USE_ESPDSP_FFT
163
-
; -D SR_DMTYPE=9 ;; 9 = ES8311 (new) which is the codec chip on the ESP32-P4 EV board
164
-
; -D SR_ENABLE_DEFAULT
165
-
; ; -D TROYHACKS_FAILSAFE_BUSSES ;; in case you have a bus type causing resets during testing, turn this on, upload, busses will be removed at boot. Then reflash without this flag.
166
-
; -D WLED_DISABLE_INFRARED
167
-
; -D WLED_DISABLE_ESPNOW ;; not working yet due to API changes in v5.3
168
-
; -D WLED_DISABLE_ALEXA
169
-
; -D WLED_DISABLE_HUESYNC
170
-
; -D WLED_DISABLE_MQTT
171
-
; -D WLED_DISABLE_LOXONE
172
-
; -D WLED_DISABLE_ADALIGHT ;; this no longer disables serial receive
173
-
; -D CONFIG_ADC_SUPPRESS_DEPRECATE_WARN
174
-
; -D CONFIG_I2S_SUPPRESS_DEPRECATE_WARN
175
-
; -D WLED_DISABLE_IMPROV_WIFISCAN
176
-
; -D USERMOD_ANIMARTRIX # needs to be changed from int to uint32_t in the base class: virtual void setPixelColor(uint32_t index, rgb pixel) = 0;
; ; https://github.com/netmindz/animartrix.git#e6b7509b391cab97b59b8eb19580e67d4203ae7d # needs to be changed from int to uint32_t in the base class: virtual void setPixelColor(uint32_t index, rgb pixel) = 0;
0 commit comments