1/7
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
What is a pushbutton used for in an Arduino circuit?
It provides a digital input that allows a user to interact with the Arduino.
What are the two basic states of a digital button?
Pressed → HIGH/ON
Released → LOW/OFF
The exact electrical behavior depends on how the circuit is wired.
Why does the pushbutton need to be placed correctly on a breadboard?
The button must be positioned so that pressing it connects the appropriate sides of the circuit.
Incorrect placement can prevent the circuit from working correctly.
What Arduino function is used to configure a pin as an input or output?
pinMode()What does this code do?
pinMode(2, INPUT);It configures digital pin 2 as an input.
What does this code do?
pinMode(13, OUTPUT);It configures digital pin 13 as an output.
What Arduino function reads the state of a digital input?
digitalRead()What does this code do?
digitalRead(2);It reads the current digital state of pin 2.
The result will normally be:
HIGH or LOW.