Sitografia:
https://gammon.com.au/interrupts
http://users.ece.utexas.edu/~valvano/Volume1/E-Book/C12_Interactives.htm
https://arduino.stackexchange.com/questions/22212/using-millis-and-micros-inside-an-interrupt-routine
https://www.avrfreaks.net/forum/question-what-atomic-instruction
https://www.switchdoc.com/2018/04/esp32-tutorial-debouncing-a-button-press-using-interrupts/
http://garretlab.web.fc2.com/en/arduino/inside/hardware/arduino/avr/cores/arduino/wiring_analog.c/analogRead.html
https://arduino.stackexchange.com/questions/23551/how-to-use-the-analog-comparator-to-determine-when-an-analog-pin-has-reached-a-c
http://www.gammon.com.au/forum/?id=11916
https://www.gammon.com.au/adc
https://electronoobs.com/eng_arduino_tut128.php
https://www.youtube.com/watch?v=5vnxm5PY8Lo
https://techtutorialsx.com/2021/08/07/esp32-ticker-library/
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_timer.html
https://openlabpro.com/guide/timer-on-esp32/#:~:text=ESP32%20has%20two%20timer%20groups,counters%20and%2016%2Dbit%20prescalers.
https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32/api-reference/peripherals/timer.html#_CPPv410timer_init13timer_group_t11timer_idx_tPK14timer_config_t
https://www.pjrc.com/teensy/td_libs_TimerOne.html
https://github.com/PaulStoffregen/TimerOne
https://github.com/PaulStoffregen/TimerThree
https://github.com/khoih-prog/TimerInterrupt
https://github.com/khoih-prog/ESP32TimerInterrupt
https://itecnotes.com/electrical/electronic-arduino-how-to-create-a-timer-interrupt-with-arduino/