#define F_CPU 16000000UL #include #include #include "lcd_io.h" #include "util/delay.h" void BlueInit(uint16_t ubrr_value) /*This function is used to initialize the USART at a given UBRR value */ { //Set Baud rate UBRRL = ubrr_value; UBRRH = (ubrr_value>>8); /*We Set Frame Format as >> Asynchronous mode >> No Parity >> 1 StopBit >> char size 8 */ UCSRC=(1<