Hello,
I'm trying to run this code on an ESP32, I can upload it without any trouble, but no output is presented when I press a remote button.
If I add this: Serial.println("handleInterrupt");
to the loop()function I can see 0 being printed indefinitely and when I press my remote some 10's are printed, so the receiver is working. But for some reason the code isn't calling the attachInterrupt function, I've tried to change the 0 to 2 or to digitalPinToInterrupt(2) because according to the docs the number should be the pin we want to track but that actually breaks the app with the error Guru Meditation Error: Core 1 panic'ed (Coprocessor exception).
Any idea of why is it not hitting the function?
Thanks
Hello,
I'm trying to run this code on an ESP32, I can upload it without any trouble, but no output is presented when I press a remote button.
If I add this:
Serial.println("handleInterrupt");to the
loop()function I can see 0 being printed indefinitely and when I press my remote some 10's are printed, so the receiver is working. But for some reason the code isn't calling theattachInterruptfunction, I've tried to change the0to2or todigitalPinToInterrupt(2)because according to the docs the number should be the pin we want to track but that actually breaks the app with the errorGuru Meditation Error: Core 1 panic'ed (Coprocessor exception).Any idea of why is it not hitting the function?
Thanks