COMPUTER ARCHITECTURE
INPUTOUTPUT DEVICES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
1
|
|
255
|
|
1024
|
|
500
|
Detailed explanation-1: -The Arduino has a 10-bit ADC (2^10 = 1024). We store this value into an int because x is bigger (10 bits) than what a byte can hold (8 bits). Let’s print this value to watch it as it changes: Copy Code Serial.
Detailed explanation-2: -Digital input with Arduino. With Arduino Uno, you can assign any of the pins D0 to D13, originally used for digital output, as digital input. The pin states can be checked by switching to the digital input mode programmatically. The input is “LOW” at 0V or “HIGH” at 5V.
Detailed explanation-3: -A digital input/output (DIO) device is hardware that sends or receives these digital signals. DIO devices are usually built around simple relays such as reed relays. These relays are normally open but close when power is sent to them.