ugfx_release_2.6
Tectu 2012-06-07 21:38:30 +02:00
parent d39e376c8b
commit e2aacd3744
1 changed files with 0 additions and 9 deletions

9
glcd.h
View File

@ -10,15 +10,6 @@
#define PORTRAIT (lcdGetOrientation() == portrait || lcdGetOrientation() == portraitInv)
#define LANDSCAPE (lcdGetOrientation() == landscape || lcdGetOrientation() == landscapeInv)
/* uncomment if no board.h file used
#define LCD_DATA_PORT GPIOE
#define LCD_CMD_PORT GPIOD
#define LCD_CS 12
#define LCD_RS 13
#define LCD_WR 14
#define LCD_RD 15
*/
#define Set_CS LCD_CMD_PORT->ODR |= (1 << LCD_CS);
#define Clr_CS LCD_CMD_PORT->ODR &= ~(1 << LCD_CS);
#define Set_RS LCD_CMD_PORT->ODR |= (1 << LCD_RS);