ESP8266: Use CCOUNT register instead of delayMicroseconds() - this will make the code non-blocking, but also decrease timing accuracy. This needs to be properly considered.
ESP32: There shouldn't be any problems when the code is running on separate core, but it will be checked.
ESP8266: Use CCOUNT register instead of delayMicroseconds() - this will make the code non-blocking, but also decrease timing accuracy. This needs to be properly considered.
ESP32: There shouldn't be any problems when the code is running on separate core, but it will be checked.