Tool/software: TI C/C++ Compiler
Hi everyone,
I am currently working on an alarm clock project that requires me to use a 7 segment display with 4 digits on it. I was wondering what the best way to implement this would be? In order for me to get all four digits to display, I have it connected to PE0-PE3, one for each digit. The 7 segments are connected to PB0-PB6. Having it increment manually with a switch works, however, I cannot get it to automatically count in accordance to time. My question is: how would I go about implementing this so that it automatically counts as well as display the time continuously. When I add a second delay, it would create such a large delay on the LEDs causing each digit to display one at a time. In addition, what is the best way to go about having my clock count in accordance to seconds, because using SysCtlDelay I feel would be too much room for error.
Thanks for your help, I appreciate it.
Board: TM4C123GH6PM
Language: C