--- In AVR-Chat@yahoogroups.com, "pjcxb" <p.j.bro@...> wrote: > Would someone kindly point me in the right direction to find > some introductory information and some "C" code to do this task? The best way to start is to read the USART section in the mega8 datasheet; it begins on page 133 of the 10/2006 edition. Several pages into that section, you'll find C code examples for initializeing the USART and for transmitting/receiving in polled mode. Once you understand that process and if you have an understanding of Interrupt Service Routines in general it is a small step to move on to interrupt driven transmission/reception. Don ZBasic Microcontrollers http://www.zbasic.net
Message
Re: Beginner wants to Program UART in C
2006-12-08 by Don Kinzer
Attachments
- No local attachments were found for this message.