DIGITAL (INPUT/OUTPUT)
- Created by: jambobenio
- Created on: 02-05-18 19:21
Other questions in this quiz
2. What does pinMode() 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, dimming the LED
- It will return an error message
- It will enable the internal pull-up resistor, cutting all current
4. What does digitalWrite() do as a function?
- Reads the value from a specific digital pin
- Write a HIGH/LOW value to a digital pin
- Configures the specified pin to behave either as an input or an output
5. What does the following syntax represent for pinMode(pin, MODE)?
- INPUT/OUTPUT
- Either INPUT/OUTPUT or INPUT_PULLUP
- The pin whose mode you wish to set
Comments
No comments have yet been made