Skip to content

attachInterrupt not called #2

@mamartins

Description

@mamartins

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions