Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In Embedded C! Thanks you so much in advance! HW14-1: LED Selection and Varying

ID: 3599173 • Letter: I

Question

In Embedded C! Thanks you so much in advance! HW14-1: LED Selection and Varying LED Intensity Develop an algorithm which allows the user to select one active indicator (from two LED's), and to change the intensity of the active indicator (selected LED) interactively: The Loop function should have a 100ms delay between iterations. . If PBl (Right Pushbutton) is CLOSED and PB2 (Left Pushbutton) is OPEN, then increase the intensity of the active indicator by 20% If PBI (Right Pushbutton) is OPEN and PB2 (Left Pushbutton) is CLOSED, then decrease the intensity of the active indicator by 20% . If PBI (Right Pushbutton) is CLOSED and PB2 (Left Pushbutton) is CLOSED, then turn off both LED's, wait 200ms, and change active indicator If the Red LED is the active indicator, then make the Green LED the new active indicator. If the Green LED is the active indicator, then make the Red LED the new active indicator You may choose which LED is the active indicator initially. o o o Plan your solution Create a flowchart or pseudo-code of your strategy (plan). Insert this flowchart or pseudo-code into ONE document (which is converted into pdf format before submitting) . . Implement your plan in Embedded C (Energia)- . Create a sufficiently-documented Energia sketch which implements your plan . Submit your final Energja sketch (solution for this problem) as a separate file (c. g. HW14-1.ino). Verify the operation of your Energia sketch (if possible). Explain why your Energia sketch works as expected or why not. Include this verification explanation into the ONE document (which is converted into pdf format before submitting). .

Explanation / Answer

I've done my best to gear this project towards newbies by providing an exact list of materials I used and the exact procedure that I followed. One recurring theme I've noticed in comment sections for other infinity mirrors is a lack of links to specific parts (e.g. exactly what type of LEDs or LED strips were used, what power supply, where to buy the mirrors, the enclosure...). Clearly, if you know what you're doing and want to spend more (or less) money to design a slightly different mirror, you can adjust your materials as needed, use a different Arduino board, etc.