Question: 1 . Implement three different lighting patterns to 8 LEDs on PORTB RB 0 - RB 7 : ( 1 ) Blink 4 LEDs ON

1. Implement three different lighting patterns to 8 LEDs on PORTB RB0-RB7: (1) Blink 4 LEDs ON and 4
LEDs OFF and interchange to 4 OFF and 4 ON for 20(0X14) times, (2) Blink every
other ON and every other OFF and interchange for 15(0X0F) times, (3) Blink all 8
LEDs ON and OFF for 5 times.
2. You must implement three different speeds: (1) implement time delay of 1 second
for pattern 1,(2) implement time delay of 0.45 second for pattern 2,(3) implement
time delay of any for pattern 3, but make sure it is visible.
3. The system must run the patterns and blinking (different time delays) continuously
(No GOTO $).

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 Electrical Engineering Questions!