On Thu, 3 Apr 2008, Student1 wrote: > per second cycle. How can I write a delay function such that it will > display digit ones for 20 microseconds, then display digit two tens > for 20 microseconds, then digit hundreds for 20 microseconds. Rince > and repeat. All while then having to increment the ones/tens/hundreds > respectively.
See.. http://gnu.freemirror.de/savannah-checkouts/non-gnu/avr-libc/user-manual/group__util__delay.html and use _delay_us & _delay_ms. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
