Question: Write a code that makes the PORTB as output and PORTA as input. Check for the status of S2 (bit 4 on PORTA) if the
Write a code that makes the PORTB as output and PORTA as input. Check for the status of S2 (bit 4 on PORTA) if the switch is pressed turn on all of the LEDs attached to PORTBs with enough delay (assembly)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
