/* download the two files "uart.c" and "uart.h" from the blog and include it in the same folder where your file is saved*/
#include<avr/io.h>
#include "uart.h"
#include "uart.c"
#include <avr/interrupt.h>
#include<util/delay.h>
void main()
{
uart_init(UART_BAUD_SELECT(9600,F_CPU)); // Syntax to select baud rate.
while(1)
{
uart_puts("Termite Working!!");
uart_puts("\n");
uart_puts("\r");
_delay_ms(1000);
}
}
/* You need to install 1) Prolific Driver to attach serial cable with PC 2) Termite or 2) Hyper terminal to view data on the computer screen.*/
/*In case you are not able to download them, kindly comment here*/
#include<avr/io.h>
#include "uart.h"
#include "uart.c"
#include <avr/interrupt.h>
#include<util/delay.h>
void main()
{
uart_init(UART_BAUD_SELECT(9600,F_CPU)); // Syntax to select baud rate.
while(1)
{
uart_puts("Termite Working!!");
uart_puts("\n");
uart_puts("\r");
_delay_ms(1000);
}
}
/* You need to install 1) Prolific Driver to attach serial cable with PC 2) Termite or 2) Hyper terminal to view data on the computer screen.*/
/*In case you are not able to download them, kindly comment here*/
No comments:
Post a Comment