Variable doesn't update between cores
Re: Variable doesn't update between cores
Don't use bitbang logic like that; the ESP32 is not designed for that. On one hand, it's a pretty complex beast needing RTOS and realtime interrupts for e.g. WiFi to work, making delays like this unreliable. On the other hand, you have a gazillion of peripherals (RMT, for example) that you can use to offload the task from the CPU.
Who is online
Users browsing this forum: ChatGPT-User, PerplexityBot and 3 guests
