/*****************************************************************************/ /********** Projekt: Ansteuerung des GLCD / WINTEK WD-H3224V *****************/ /********** mit einem Atmega 16 mit 16MHz Quarz *****************/ /*****************************************************************************/ #include #include #include #define ON PD7 /*Display off*/ #define FLM PC0 #define M PC1 /*AC*/ #define CL1 PC2 /*LOAD LP CP1*/ #define CL2 PC3 /*PCLK CP CP2*/ #define D0 PC4 #define D1 PC5 #define D2 PC6 #define D3 PC7 /*Globale Variablendeklaration*/*/ volatile int i=0; volatile int ac=0; volatile int line=0; /*****************************************************************************/ /******* TIMER ISR fuer Displayansteuerung / WINTEK WD-H3224V ****************/ /*****************************************************************************/ ISR(TIMER0_COMP_vect) { /*cli();*/ /* Pixel pro Zeile setzen (320/8) */ for(i=0;i<30;i++) { PORTC|=(1<