Source Code:

    

      
#include <avr/io.h> void usart_init (void) { UCSRB = (1<<TXEN) ; UCSRC = (1<< UCSZ1)|(1<<UCSZ0)|(1<<URSEL); UBRRL = 0x33 ; } void usart_send (unsigned char ch) { while (! (UCSRA & (1<<UDRE))); UDR = ch ; } int main (void) { usart_init(); while(1) usart_send('G'); return 0 ; }