Do AVR's have a receive flag like PIC's do? If so the pseudo-code would be this: while 1 ...while not receive_flag ...wend ... ...get receive_register data ...put data in transmit_register wend Mike --- In AVR-Chat@yahoogroups.com, Dave VanHorn <dvanhorn@d...> wrote: > At 12:41 PM 10/6/2004, Daniel Boyer wrote: > > > >Does anyone have a simple program, or link to a program for simple > >interface via uart with a terminal (ASM prefered)? > > The simplest way, is to set up the uart, and then load bytes into the uart tx register, looping till it's empty for the next byte. Of course this is rather wasteful of time.
Message
Re: Simple UART Code
2004-10-06 by upand_at_them
Attachments
- No local attachments were found for this message.