AN #12 - Using the TIMER interrupt to make a clock with LED-display


This application note shows how the TIMER interrupt can be used to make a software clock
This AN is donated by our Slovenian customer Mirko Pelcl.

Connect a common cathode LED display as following :

a = P1.0
b = P1.1
c = P1.2
d = P1.3
e = P1.4
f = P1.5
g = P1.6
ones display P3.7
thens display P3.5

Download source code in an12.zip