I don’t understand why we set interrupt on rising edge?
What exactly you don’t understand? A binary signal changes from low (0) to high (1) or from high (1) to low (0). If you set an interrupt on a button, you can decide whether it’s gonna be on rising edge when the signal is low to high or from trailing edge when the signal is from high to low.
You decide based on your unique application, what would work better for you.
You must be logged in to reply to this topic.