1.

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 numbersI have been asked this question in quiz.My question is from Interrupt Service Routine in division Arduino Programming of Arduino

Answer»

The CORRECT OPTION is (a) To enable ISR usage

To elaborate: 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.



Discussion

No Comment Found

Related InterviewSolutions