avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] simple USART (RS232) example for ATmega48


From: Bob Paddock
Subject: Re: [avr-gcc-list] simple USART (RS232) example for ATmega48
Date: Tue, 19 Jul 2005 19:43:42 -0400
User-agent: KMail/1.7.2

On Tuesday 19 July 2005 05:08 pm, address@hidden wrote:

> i'm looking for a simple c (AVR-GCC) example program demonstrating the use
> of the USART0 (as RS232) of my ATmega48.

> ATmega48. It was written for AT90S8515. Unfortunatly it doesn't seem to
> work 

Make sure you clear the appropriate bit (don't have data sheet at hand) in the 
Power Reduction Register (PRR) to enable the USART.  Rest of the code is 
similar to most Megas.

-- 
                          http://www.softwaresafety.net/
 http://www.unusualresearch.com/ http://www.bpaddock.com/




reply via email to

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