https://lastminuteengineers.com/handling-esp32-gpio-interrupts-tutorial/
https://techtutorialsx.com/2017/10/07/esp32-arduino-timer-interrupts/
Watchdog timer
https://docs.espressif.com/projects/arduino-esp32/en/latest/api/timer.html
PID motion
https://www.dfrobot.com/blog-1045.html