Question: need help for the 7 segment display: from 0 to F, such as 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. its using the Keil program please. thank you. #include #include #include

 need help for the 7 segment display: from 0 to F,such as 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. its using the Keil program please. thank you. #include#include #include #include #include "TM4C123GH6PM.h" void DelayMs(int s); int main(void) { //GPIO Configuration // 1. Enable Clock on Port F (SYSCTL_RCGCGPIO) // allowtime for clock to stabilize (SYSCTL_PRGPIO) // 2. Unlock PD7 and PF0

need help for the 7 segment display: from 0 to F, such as 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. its using the Keil program please. thank you.

#include #include #include #include #include "TM4C123GH6PM.h" void DelayMs(int s); int main(void) { // GPIO Configuration // 1. Enable Clock on Port F (SYSCTL_RCGCGPIO)

// allow time for clock to stabilize (SYSCTL_PRGPIO) // 2. Unlock PD7 and PF0 on TM4C123G (GPIOn->LOCK and GPIOn->CR) // 3. Clear AMSEL to disable analog // 4. Config PCTL to select GPIO // 5. Set DIR to 0 for input, 1 for output // 6. Clear AFSEL bits to 0 to select regular I/O // 7. Set PUR bits to 1 to enable internal pull-up resistor // 8. Set DEN bits to 1 to enable data pins while(1){ if ( ; } else { } } }

For EK-TM4C123GXL LaunchPad For EK-TM4C123GXL LaunchPad

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!