#include <avr/io.h>
#include <stdio.h>
#include "usart.c"
void setup() {
/*
UBRR0L = (uint8_t)(103 & 0xFF);
UBRR0H = (uint8_t)(103 >> 8);
UCSR0B = (1 << RXEN0) | (1 << TXEN0);
*/
USART_ConfigData USART_Data;
USART_Data.BaudRate = 9600;
USART_Data.DataBit = USART_DATA_BIT_EIGHT;
USART_Data.ParityBit = USART_PARITY_BIT_NO;
USART_Data.StopBit = USART_STOP_BIT_ONE;
USART_Data.UsartMode = USART_MODE_ASYNCHRONOUS;
USART_Init(USART_Data);
}
void loop() {
// put your main code here, to run repeatedly:
USART_send_char('c');
//Serial.println("hello");
}