[Top][All Lists]

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

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

From: Alan Kilian
Subject: RE: [avr-gcc-list] Digital clock assembler programming problem
Date: Mon, 05 Sep 2005 10:09:23 -0500

> 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?

    Can't you increment the seconds from 9 to 10?

    If not, can you detect when the units-seconds-variable is
    already 9 at the time of increment, and set it to 0 while you
    increment the tens-seconds-variable?

    (This really is not an avr-gcc issue)


- Alan Kilian <kilian(at)bobodyne.com>

reply via email to

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