Arduino Forum
Using interrupts in a world of classes and multiple pins
Projects
Programming
PieterP
April 27, 2023, 6:34am
3
Although it's generally a bad idea to use interrupts to read buttons, what you're after is possible:
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
attachInterrupt Pin Inside of Class
Programming
5
116
March 16, 2026
Class member function as callback for interrupt
Programming
25
609
November 14, 2025
I cannot get attachInterrupt() to work (invalid use of non-static member function)
Programming
10
579
July 18, 2024
Interrupt to count pulses in library
Libraries
17
1081
October 12, 2023
How do libraries attach interrupts referencing its own functions
Programming
8
668
May 6, 2021