Question: USING ENERGIA PLEASE DO THIS HW05-3 Develop an algorithm which generates an infinite loop with two LED outputs: Each iteration is approximately 1 second. .

USING ENERGIA PLEASE DO THIS

USING ENERGIA PLEASE DO THIS HW05-3 Develop an algorithm which generates an

HW05-3 Develop an algorithm which generates an infinite loop with two LED outputs: Each iteration is approximately 1 second. . o Define one variable, LED1, for the Green LED o Define another variable, LED2, for the Red LED o Initialize an integer variable, X, to count the iterations. . The Green LED turns ON (500ms) every iteration. . The Red LED turns ON (500ms) once every tenth iteration. Document this algorithm using a flowchart or pseudo-code. . For a flowchart, use an online tool such as "draw.io" (or powerpoint). Hand-writte drawings (sketches) ARE NOT acceptable for this HW assignment. . For pseudo-code, use a simple text file and standard pseudo-code protocol Use the variable names specified and document (explain) any additional variables Submit this plan as a separate file (HW05-3.io, or HW05-3.ppt, or HW05-3.txt, etc * HW05-4 Write a Energia sketch which implements the algorithm developed in HW05-1. Document this function with Energia comments, * Submit this Energia sketch as a separate file (HW05-4.ino) . Observe the operation of your sketch and verify that it matches your expectations

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!