hi frnds i am trying to interface Atmega16A with LM35 and LCD that is i am trying to see the temperature on Lcd..but some how my code is not working on hardware….pls help
my codes…
header for lcd
#ifndef LCD_H_
#define LCD_H_
#define rs PA7
#define rw PA6
#define en PA4
#define F_CPU 16000000UL
#include<avr/io.h>
#include<util/delay.h>
#include<inttypes.h>
void lcd_init();
void dis_cmd(char);
void dis_data(char);
void lcdcmd(char);
void lcddata(char);
void clrscr();
void gotoxy(char,char);
void LCD_write_string(const char *);
void LCD_write_string(const char *str)//store address value of the string in pointer *str