(Answer) (Category) ImageCraft Products FAQ-O-Matic : (Category) ICCAVR V6 - and - ICC7 for AVR :
I use printf, and nothing comes out.
You need to initialize the UART. For example,

UART_TRANSMIT_ON();

UBRR = BAUD9600;

Initializes the UART to 9600 baud and turns the transmitter on. These macros are defined in the file avr.h (the baudrate is for a 4MHz clock). It is best to use the Application Builder to generate peripheral initialization code.
kristil@imagecraft.com

[Append to This Answer]
Previous: (Answer) How do I use the Terminal IO window in AVR Studio? How come (XXXX) features do not work under AVR Studio?
Next: (Answer) I use a lot of printf calls and the strings are taking up valuable RAM space!
This document is: http://www.dragonsgate.net/cgi-bin/FAQ/fom?file=43
[Search] [Appearance]
This is a Faq-O-Matic 2.721.
This FAQ administered by Richard Man