1.

Can the digitalRead() function identify analog voltages?(a) Yes, it can(b) No, it cannot(c) Yes, it can but only 2(d) Yes, it can but only 4I have been asked this question during a job interview.This key question is from Digital Input Output in chapter Arduino Programming of Arduino

Answer»

Correct answer is (c) YES, it can but only 2

To EXPLAIN: The digitalRead() FUNCTION is used to receive digital signals as input through the port and then process the DATA further. However, it can only distinguish between 5V (3.3V for some Arduino Boards) and 0V which correspond to the digital HIGH and the digital LOW signals RESPECTIVELY.



Discussion

No Comment Found

Related InterviewSolutions