Question: 2 . Build the interface on PORTB: RB 3 - RB 7 available as X 1 0 Pins 1 - 8 and PORTA: RA 0

2.Build the interface on PORTB: RB3-RB7available as X10Pins 1-8and PORTA:
RA0-RA2as X8Pins 1-3to drive 8LEDs available as X6Pins 1-8on the trainer
board.
3.Use remaining PORTB: RB0,RB1,RB2as inputs to implement choices of 3
different lighting patterns that is selectable by 3different DIP switches on S7,
the connection available as X32Pins 1-8: (1)Blink 4LEDs ON and 4LEDs OFF
and interchange to 4OFF and 4ON,(2)Blink every other ON and every other
OFF and interchange, (3)Blink all 8LEDs ON and OFF.
4.You must implement three different speeds: (1)implement time delay of 0.9
second for pattern 1,(2)implement time delay of 0.4second for pattern 2,(3)
implement time delay of 0.25second for pattern 3.
5.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!