1.

What is the resolution of the micros() function on the Arduino LilyPad?(a) 2 Microseconds(b) 4 Microseconds(c) 6 Microseconds(d) 8 MicrosecondsThis question was addressed to me during an interview.I want to ask this question from Time Functions in division Arduino Programming of Arduino

Answer»

Correct option is (d) 8 MICROSECONDS

Easiest explanation: The micros() function gives the up-time of the Arduino program in microseconds. This function has a RESOLUTION, i.e. the intervals in which it gives an OUTPUT. This resolution depends on the Frequency of the specific Arduino Board that its running on. On the Arduino LILYPAD it’s resolution is 8 Microseconds.



Discussion

No Comment Found

Related InterviewSolutions