All this is fine. But for many of us hobbyists that know just enough about C, especially when it comes to AVRs, to be down-right-dangerous... For me something like the following, is good, proper and works. It is not fully understood until I dissect. while ((UCSRA & (1<<UDRE))==0); while(UCSRA.5 == 0); //while(USART Data Register Empty) Haven't tried this but I think it should work and means "while the data register is empty sit right here". Now to the Xsperts may disagree. I'm a hobbiest, it works for me and best of all I understand why it works. Mike On 3/14/07, David Appleton <englsprogeny@yahoo.com> wrote: > > I am going to learn so much from this group...... > Glad I joined. > > > : ) > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed]
Message
Re: [AVR-Chat] Re: Some C help please !
2007-03-22 by Mike Bronosky
Attachments
- No local attachments were found for this message.