Problem 17: a. A program written with the delay subroutine (100ms). Complete the program which is for a 7-segment displa
Posted: Sun May 15, 2022 2:29 pm
Problem 17: a. A program written with the delay subroutine (100ms). Complete the program which is for a 7-segment display with common cathode to carry out following functions together. But first draw the flow chart diagram. ✓ Display the number 9 on a 7-segment display at PORTB. ✓ Wait for 1 second ✓ Subtract 7 from the displayed number and display the new number if the button at RA2 is pressed. If the result is negative, add 10 to the result and display the result of this computation. ✓ Go back to wait for 1 second delay