https://www.maffucci.it/2021/03/04/arduino-interrupts-lezione-2/
Arduino - Interrupts - lezione 2