1- If the LED was connected to pin 5 and the delay was 3 seconds. Modify the code to accommodate these changes. 2- How does the LED blinking changes between the two codes?

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
GND
int LED -
void setup ()
pinMode (LED, OUTPUT) ;
void loop ()
{
digitalWrite(LED,HIGH);
delay (1000) ;
digitalWrite(LED, LOW) ;
delay (1000) ;
For the following circuit board, the following code was
applied to make the LED blink every one second.
1- If the LED was connected to pin 5 and the delay was 3 seconds.
Modify the code to accommodate these changes.
2- How does the LED blinking changes between the two codes?
0O UNO
- ARDUINO
ANALOO IN
Transcribed Image Text:GND int LED - void setup () pinMode (LED, OUTPUT) ; void loop () { digitalWrite(LED,HIGH); delay (1000) ; digitalWrite(LED, LOW) ; delay (1000) ; For the following circuit board, the following code was applied to make the LED blink every one second. 1- If the LED was connected to pin 5 and the delay was 3 seconds. Modify the code to accommodate these changes. 2- How does the LED blinking changes between the two codes? 0O UNO - ARDUINO ANALOO IN
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L