One way around the problem of getting a fast response from a microcontroller is to move the problem away from the processor. In the case of the ESP32 there are some built-in devices that can use GPIO ...
The Arduino library provides a very simple way to generate a PWM signal. The only problem is that the frequency is fixed and all you can alter is the duty cycle: analogWrite(pin, value) where pin is ...
That's the idea behind two new Elektor Academy Pro courses developed by Clemens Valens: MicroPython for STM32 and Arduino for ...