Podcast
Questions and Answers
The pinMode
command is used to set a digital input pin to an output mode.
The pinMode
command is used to set a digital input pin to an output mode.
False
Digital sensors can have a range of values between 0V and 5V.
Digital sensors can have a range of values between 0V and 5V.
False
The digitalRead
function returns a string value of 'On' or 'Off'.
The digitalRead
function returns a string value of 'On' or 'Off'.
False
The if
statement is used to execute a block of code repeatedly.
The if
statement is used to execute a block of code repeatedly.
Signup and view all the answers
Pins #0 and #1 are exclusively used for digital input.
Pins #0 and #1 are exclusively used for digital input.
Signup and view all the answers
The digitalRead
function can be used to read analog sensor values.
The digitalRead
function can be used to read analog sensor values.
Signup and view all the answers
The INPUT
parameter in the pinMode
command should be written in lowercase letters.
The INPUT
parameter in the pinMode
command should be written in lowercase letters.
Signup and view all the answers
The if
statement can be used to execute a block of code only once.
The if
statement can be used to execute a block of code only once.
Signup and view all the answers
Digital input values can have a range of values between 0 and 1023.
Digital input values can have a range of values between 0 and 1023.
Signup and view all the answers
The void loop()
function is used to execute a block of code only once.
The void loop()
function is used to execute a block of code only once.
Signup and view all the answers