Because of the outbreak I am stuck out of my home country and have to work online. I sadly dont have an ESP32 with me at the moment, so I cant check it myself. My question is wether or not it is possible to use delayMicroseconds() on the ESP32 while sustaining an uninterupted wifi connection? I ask this because I usually avoid using delay() overall as I know that it basically freezes the microcontroller for a given amount of time. Would doing so make the System unreliable? If so what can I do to get a 10 microsecond delay between two tasks?
I already implemented a solution using two micros just to be sure. But I am still curious if the usage of delayMicroseconds() would lead to reliability issues.
Gut feeling is that communicating between two micros (I assume you mean two boards/MCUs) is more problematic and takes more time than a 10 microsecond delay.
Could always use the BlinkWithoutDelay method for timing.
if (micros() - previousMicros >= interval) {}; // do something
But that relies on the loop time being much shorter than that interval.
Not sure why you're worried about WiFi. The ESP32 has two cores.
One core AFAIK dedicated to WiFi.
Leo..