My code is as follows:
But even after these commands interrupt is still active
Kindly ask you to show real working example for edactivation of interrupt (ESP32)
activation in Setup
deactivation in Loop
is it correct ?
Have you tried using the dettach interrupt like this:
Does it work this way?