BASCOM LT©

Using the TIMER interrupt to make a clock with LED-Display

by Mirko Pelcl


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

Program:
Download clock_.bas source code


Pagina Aggiornata al 22 Febbraio 1998


 

GRIFO®
Via dell'Artigiano, 8/6
40016 San Giorgio di Piano
Bologna ITALIA

Tel: +39 051 89.20.52 (4 linee r. a.)
FAX: +39 501 89.36.61


home Home BASCOM LT Application Categorico