(Solved): A scoreboard system will be designed to display the score between two teams in a sports event. The ...
A scoreboard system will be designed to display the score between two teams in a sports event. The system has two separate buttons to increase the score of each team. The button to increase the first team's score is connected to pin 2, and the button to increase the second team's score is connected to pin 25 . The pin is in the logic 1 state when the button is pressed. When a team's score reaches 10, an LED representing that team's victory will become active. The LED indicating the first team's victory is connected to pin 12 , and the LED indicating the victory of the second team is connected to pin 16 . When the pins are logic 1 , the LEDs are active. The program will end with a victory. The pin diagram is shown in the picture below. Write the program code in the solution area provided in Question 6 . Ignore the box below.