Question: 1. Draw a flowchart for an ARM microcontroller program to flash an LED with a 50% duty- cycle. Set the period of one cycle as

1. Draw a flowchart for an ARM microcontroller program to flash an LED with a 50% duty- cycle. Set the period of one cycle as a variable to be later defined.[5 marks] 2. Based upon your flowchart, write a C program to flash the onboard LED. Assuming a 50% duty-cycle the period of one cycle is defined based upon the least-significant-digit (LSD) of the your student number. Same as you did in lab 1, embed a very short video ( 10s) in your report demonstrating this achievement. Include structured and commented source code (must have your name and student number) in the appendix of your lab summary. [20 marks] LSD 0, 3, 6, 9: cycle period is 0.50 s. LSD 1,4, 7: cycle period is 1.00 s. LSD 2, 5, 8: cycle period is 2.00 s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
