Hello @tkb-koki, How about this example code? https://github.com/futureshocked/ESP32-For-Busy-People-1/blob/9ede724a862539ae18aad1500426ceb4415d5052/04-070_Interrupt_with_button_and_led/04-070_Interrupt_with_button_and_led.ino