- Created by: jambobenio
- Created on: 02-05-18 19:21
1. What does the following syntax represent for pinMode(14,INPUT )?
- Disables the interal pull-ups
- Sets pinMode() as an input
- Sets pinMode() as an HIGH
- Enables the internal pull-ups
1 of 8
Other questions in this quiz
2. What does digitalRead() do as a function?
- Configures the specified pin to behave either as an input or an output
- Reads the value from a specific digital pin
- Write a HIGH/LOW value to a digital pin
3. What will happen if you don't set the pinMode() to OUTPUT, and connect and LED when calling digitalWrite() ?
- It will my cause serious damage to your board
- It will enable the internal pull-up resistor, cutting all current
- It will enable the internal pull-up resistor, dimming the LED
- It will return an error message
4. What does the following syntax represent for digitalWrite(pin, VALUE)?
- The amount of voltage used in the function
- Either its corresponding voltage (HIGH) or OV (ground) for LOW
- The value which is written to the selected pin
- Either its corresponding voltage (LOW) or OV (ground) for HIGH
5. What does the following syntax represent for pinMode(pin, MODE)?
- Either INPUT/OUTPUT or INPUT_PULLUP
- The pin whose mode you wish to set