Does InterruptIn support rise and fall callbacks in parallel?

I have a situation there I need to observe GPIO status for LOW or HIGH, I need to receive interrupt on changes from Low to High as well from High too Low. It should work via Interrupts to save energy in deepsleep mode.

Is it supported to register rise and fall callbacks in parallel?

Thank you.
Helmut

I tested it, it works, so I believe it is supported to use fall and rise in parallel.

1 Like

Hello Helmut,

I can confirm it too. I used it to implement the Manchester code library.

Best regards, Zoltan

thank you.
Regards Helmut