lcd.h

Go to the documentation of this file.
00001 /*
00002  * lcd.h
00003  *
00004  *  Created on: Feb 8, 2011
00005  *      Author: MTGM
00006  *
00007  *      Controle do Display de LCD.
00008  */
00009 
00010 #ifndef LCD_H_
00011 #define LCD_H_
00012 
00013 //#include<LPC23xx.H>
00014 #include "../lpc_config.h"
00015 #include<stdio.h>
00016 #include "../timer/timer.h"
00017 
00018 
00019 #define lcd_dados 0xFF
00020 #define lcd_en (1<<24)
00021 #define lcd_rs (1<<25)
00022 #define lcd_rw (1<<30)
00023 
00024 
00025 void lcd_command(int comando);//lcd_comando
00026 void lcd_putc(int dado);//lcd_dado
00027 void lcd_string(char *dado);//lcd_string
00028 void lcd_goto(int linha, int coluna);
00029 void init_lcd(void);
00030 void lcd_clr(void);
00031 
00032 #endif /* LCD_H_ */