1.

How many pins are available for interrupt functions in the Arduino Uno?(a) No pins(b) All pins except pin 2 and 3(c) Only pin 2(d) Only pins 2 and 3I had been asked this question in an interview for internship.Question is taken from Interrupt Service Routine topic in section Arduino Programming of Arduino

Answer»

Correct OPTION is (b) All pins except pin 2 and 3

The explanation is: ISR allows 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. Usually a number of pins are assigned for any Board. The Arduino Uno has ISR functionality ENABLED for only pins 2 and 3.



Discussion

No Comment Found

Related InterviewSolutions