Variable doesn't update between cores

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Variable doesn't update between cores

Postby ESP_Sprite » Thu Apr 11, 2019 5:27 am

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: No registered users and 75 guests