avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Digital clock assembler programming problem


From: Sivakumar Ganesan
Subject: [avr-gcc-list] Digital clock assembler programming problem
Date: Mon, 5 Sep 2005 14:32:40 +0200

Hi everyone,
I am a newbie to AVR microcontroller programming.
I was quite successful in building some small applications like
blinking a LED, interfacing a 16*2 LCD and interfacing a 4*3 keypad.
Right now, I am trying to develop a digital clock display using
ATmega8 and 16 * 2.

Here is my question:

Initial clock set 00:00 (minutes:second)
Obviously, after for every 1 second i want to increment the seconds variables.
I can increment the second's  second variable up to 9. But, how can i
display numbers greater than 9, i.e, 10, 11,... by changing both
second's first and second's second varaible at the same time?

Thanks in Advance.

Bye 
        
 second loop:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]