Placing a delay within any built-in function pertaining to the wireless radio will only halt operations on the "WiFi core"Wi-Fi core or "core0"core0. Your main loop code wont be affected by a delay placed in core0core0. It will only halt wireless operations.
I ran into a similar issue and it took a while for me to put it together. I use global variablesglobal variables when passing info between core0 and core1. Wireless runs on core0core0 and your main code runs on core1 (unless otherwise specified in the setup)core1.
- Wireless runs on
core0and - Your main code runs on
core1(unless otherwise specified in the setup).