What happened to the led speed blinking when the delay was changed?
What happened to the led speed blinking when the delay was changed?
Chapter22: Sequence Control
Section: Chapter Questions
Problem 1SQ: Describe what is meant by sequence control.
Related questions
Question
Given the below arduino code for a blinking LED:
void setup() {
int LED = 7
pinMode(LED,OUTPUT);
}
void loop() {
digitalWrite(LED,HIGH);
delay(500);
digitalWrite(LED,LOW);
delay(500);
}
- Modify the code so that the LED is connected to pin 6 and the delay is one second between each blinking.
- What happened to the led speed blinking when the delay was changed?
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.Recommended textbooks for you
Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning
Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning