What is the use of the attachInterrupt() function?

Linh Chi

New member
What is the use of the attachInterrupt() function?
A. To enable ISR usage
B. To enable ISR usage, but only on certain Arduino Boards
C. To decommission ISR usage for a particular Arduino Board
D. To translate pin numbers
 
Answer: A
Explanation: The attachInterrupt() function allows us to initiate an interrupt routine in any Arduino Board. The interrupt service routine can be used to automate a number of functions in an Arduino.
 

Tìm kiếm

Back
Top