What is the use of the interrupt mode?

Giao Linh

New member
What is the use of the interrupt mode?
A. Decides which type of transition to trigger on
B. Decides when to turn off interrupts
C. Decides which pin to turn off
D. Decides when to turn off the Arduino Board
 
Answer: A
Explanation: There are different types of transition, RISING, FALLING, and CHANGE.
RISING – Triggers interrupt when pin transitions from LOW to HIGH.
FALLING – Triggers interrupt when pin transitions from HIGH to LOW.
CHANGE – Triggers interrupt when pin transitions from LOW to HIGH or HIGH to LOW.
 

Tìm kiếm

Back
Top