Can the digitalRead() function identify analog voltages?

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 4
 
Answer: C
Explanation: 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.
 

Tìm kiếm

Back
Top