1.

How many arguments does the analogRead() function have?(a) 1(b) 2(c) 3(d) 4The question was asked in final exam.This key question is from Analog Input Output topic in division Arduino Programming of Arduino

Answer»

The correct answer is (a) 1

For EXPLANATION: The analogRead() function is used to take analog signal inputs to the Arduino. It requires 1 argument; the PIN number which WOULD indicate which pin is to be used for that particular OPERATION. This will make the Arduino to start reading voltage fluctuations of the ORDER of 0V to 5V or 3.3V for some Arduino Boards.



Discussion

No Comment Found

Related InterviewSolutions