What happened to the led speed blinking when the delay was changed?

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter22: Sequence Control
Section: Chapter Questions
Problem 1SQ: Describe what is meant by sequence control.
icon
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
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Feedback amplifier
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L
Electricity for Refrigeration, Heating, and Air C…
Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning