Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

is the flowchart right based on arduino code # define RLED 1 0 # define YLED 9 # define GLED 8 # define SWT

is the flowchart right based on arduino code "# define RLED10
# define YLED9
# define GLED8
# define SWT6
void setup()
{
pinmode(RLED,OUTPUT);
pinmode(YLED,OUTPUT);
pinmode(GLED,OUTPUT);
pinmode(SWT,INTPUT);
}
boolean swVal;
void loop()
{
swVal=digitalRead(SWT);
If(swVal==LOW)
{
digitalWrite(RLED,HIGH);
digitalWrite(YLED,HIGH);
digitalWrite(GLED,HIGH);
delay(250);
digitalWrite(RLED,LOW);
digitalWrite(YLED,LOW);
digitalWrite(GLED,LOW);
delay(250);
}
else
{
digitalWrite(RLED,HIGH);
digitalWrite(YLED,HIGH);
digitalWrite(GLED,HIGH);
delay(1000);
digitalWrite(RLED,LOW);
digitalWrite(YLED,LOW);
digitalWrite(GLED,LOW);
delay(1000);
}
}"?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data 29th British National Conference On Databases Bncod 2013 Oxford Uk July 2013 Proceedings Lncs 7968

Authors: Dan Olteanu ,Georg Gottlob ,Christian Schallhart

2013th Edition

3642394663, 978-3642394669

More Books

Students also viewed these Databases questions

Question

Discuss the techniques of job analysis.

Answered: 1 week ago

Question

How do we do subnetting in IPv6?Explain with a suitable example.

Answered: 1 week ago

Question

Explain the guideline for job description.

Answered: 1 week ago

Question

What is job description ? State the uses of job description.

Answered: 1 week ago

Question

What are the objectives of job evaluation ?

Answered: 1 week ago