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 (B)
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 (B)
The digitalRead
function returns a string value of 'On' or 'Off'.
The digitalRead
function returns a string value of 'On' or 'Off'.
False (B)
The if
statement is used to execute a block of code repeatedly.
The if
statement is used to execute a block of code repeatedly.
Pins #0 and #1 are exclusively used for digital input.
Pins #0 and #1 are exclusively used for digital input.
The digitalRead
function can be used to read analog sensor values.
The digitalRead
function can be used to read analog sensor values.
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.
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.
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.
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.