test
Dependencies: mbed-STM32F103C8T6 SHT21_ncleee
lcd_driver.h
- Committer:
- techneo
- Date:
- 2013-02-20
- Revision:
- 0:217105958c2d
File content as of revision 0:217105958c2d:
#ifndef LCD_DRIVER_H #define LCD_DRIVER_H //#include "mbed.h" #ifdef LCD_DRIVER_C #define EXTERN_PFX #else #define EXTERN_PFX extern #endif #define HIGH 1 #define LOW 0 #define digitalWrite(x,y) x=y #define delay(x) wait_ms(x) #define X_CONST 240 #define Y_CONST 320 EXTERN_PFX void Write(unsigned int c); EXTERN_PFX void Write_Command(unsigned int c); EXTERN_PFX void Write_Data(unsigned int c); EXTERN_PFX void Write_Command_Data(unsigned int cmd,unsigned int dat); EXTERN_PFX void Lcd_Init(); EXTERN_PFX void LCD_clear(); EXTERN_PFX void SetXY(unsigned int x0,unsigned int x1,unsigned int y0,unsigned int y1); EXTERN_PFX void Pant(unsigned int color); #endif