Go Down

Topic: attachInterrupt() documentation: Only one ISR per pin (Read 429 times) previous topic - next topic

granjow

According to the docs, this is the right place for improvements suggestions.

In https://www.arduino.cc/en/Reference/AttachInterrupt, it would be helpful to add the information that there can only be one ISR per pin, so it is e.g. not possible to add one ISR for FALLING and one for RISING.

Is it correct to use digitalRead to find out if it is a rising or falling edge in the ISR, when CHANGE is used?

Simon

PaulS

Quote
Is it correct to use digitalRead to find out if it is a rising or falling edge in the ISR, when CHANGE is used?
Yes.
The art of getting good answers lies in asking good questions.

granjow

Okay, thanks!

So, what is the way to get the webpage updated?

Go Up