//Digimot22 //glcd.h //********************************************************************** // For EA-DIP-122-5 122x32 Px // with 2x SED 1520 and 2x Enable, left 61 rows, right 61 rows //********************************************************************** #define GLCD_DATAPORT PORTC//Port für GLCD Data Pins #define GLCD_DATAPORTDDR DDRC//DDR für Data Pins #define GLCD_RESETPORT PORTA//Port für Reset #define GLCD_RESETPORTDDR DDRA//DDR für Reset #define GLCD_RESETPIN 4//Pin für Reset #define GLCD_REGSELPORT PORTA//Port für RS #define GLCD_REGSELPORTDDR DDRA//DDR für RS #define GLCD_REGSELPIN 5//Pin für RS #define GLCD_ENABLEPORT1 PORTA//Port für Enable #define GLCD_ENABLEPORTDDR1 DDRA//DDR für Enable #define GLCD_ENABLEPIN1 6//Pin für Enable #define GLCD_ENABLEPORT2 PORTA//Port für Enable #define GLCD_ENABLEPORTDDR2 DDRA//DDR für Enable #define GLCD_ENABLEPIN2 7//Pin für Enable //********************************************************************** extern void init_glcd(void); extern void enable_glcd(uint8_t);//EnablePin Up/Down extern void write_glcd(uint8_t, uint8_t,uint8_t);