1.

What is the resolution of the micros() function on the Arduino Nano?(a) 2 Microseconds(b) 3 Microseconds(c) 4 Microseconds(d) 5 MicrosecondsI had been asked this question by my college director while I was bunking the class.This is a very interesting question from Time Functions topic in section Arduino Programming of Arduino

Answer»

Right answer is (c) 4 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 Duemilanove it’s resolution is 4 Microseconds.



Discussion

No Comment Found

Related InterviewSolutions