Microprocessor-based Systems: Memory Classification

Microprocessor-based Systems: Memory Classification

Created by
@AngelicStanza

Questions and Answers

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.

False

The digitalRead function returns a string value of 'On' or 'Off'.

False

The if statement is used to execute a block of code repeatedly.

<p>False</p> Signup and view all the answers

Pins #0 and #1 are exclusively used for digital input.

<p>False</p> Signup and view all the answers

The digitalRead function can be used to read analog sensor values.

<p>False</p> Signup and view all the answers

The INPUT parameter in the pinMode command should be written in lowercase letters.

<p>False</p> Signup and view all the answers

The if statement can be used to execute a block of code only once.

<p>True</p> Signup and view all the answers

Digital input values can have a range of values between 0 and 1023.

<p>False</p> Signup and view all the answers

The void loop() function is used to execute a block of code only once.

<p>False</p> Signup and view all the answers

Use Quizgecko on...
Browser
Browser