Question: Q 1 ( 3 6 marks ) Create a new file S 3 Q 1 . c and write program to perform the following operations.

Q1(36 marks)
Create a new file S3Q1.c and write program to perform the following operations.
g. When program is first executed, the LED bar will brink 3 times with a given pattern.
h. After a short delay, a single LED will move from right to left continuously.
i. Modify your program such that the single LED bar will pause when SW1(P0.2) is pressed. The LED bar will resume its pattern when SW2( PO 0.3) is pressed.
Q 1 ( 3 6 marks ) Create a new file S 3 Q 1 . c

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 Programming Questions!