I'm trying to write a program to output a count on a 7-seg display from zero to nine with a one second delay (1000ms) between each increment. When the count reaches nine it must loop around to zero again and keep going.
I need to use #defines to make the code readable and sell-documenting.
Can you please help me with the code or point me to a tutorial? Thanks!