Saturday, 8 March 2014

Simple Program to see whether Termite / Hyper terminal is workin or not

/* 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 "uart.h"
#include "uart.c"
#include <avr/interrupt.h>
 void main()
 uart_init(UART_BAUD_SELECT(9600,F_CPU)); // Syntax to select baud rate.

  uart_puts("Termite Working!!");


/* 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

Powered by Blogger.