Question: You are required to use port programming in this question. Use Port B to connect the 7-segment display (shown below) to your microcontroller. For example:

You are required to use port programming in this question. Use Port B to connect the 7-segment display (shown below) to your microcontroller.

For example: you may choose to connect pin A of the 7-segment to Port B Pin 1, and so on.

Clearly label the port b pin number that you have selected to represent the pins of the 7- segment display.

7-Segment Display Pin:

Port B Pin

A

B

C

D

E

F

G

Write a program that displays the numbers from 0 to 9 with a delay of 1 second between each number. After reaching 9, the numbers should count down to 0.

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 Databases Questions!