Here is the sample interrupt declaration
attachInterrupt(digitalPinToInterrupt(3), isr_func, FALLING);
Which will run ISR isr_func when signal on digital pin 3 goes from HIGH to LOW.
But in my current project I want to react also to changes from LOW TO HIGH.
I have a CHANGE mode and that would work but ideally I would like to have a differrent ISRs for both events.
Is it possible to have attachInterrupt(digitalPinToInterrupt(3), isr_f1, FALLING); attachInterrupt(digitalPinToInterrupt(3), isr_f2, RAISING);
in the same sketch