Subversion Repositories HomeAutomation

Rev

Rev 1910 | Rev 2024 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1910 Rev 2016
Line 334... Line 334...
334
#if GRAPHICS_DRIVER==DOTMATRIX
334
#if GRAPHICS_DRIVER==DOTMATRIX
335
    TCCR0A |= (1<<COM0B1)|(1<<WGM01)|(1<<WGM00);
335
    TCCR0A |= (1<<COM0B1)|(1<<WGM01)|(1<<WGM00);
336
    TCCR0B |= (1<<CS00);
336
    TCCR0B |= (1<<CS00);
337
    OCR0B = 0xff-act_ks0108_INITIAL_BACKLIGHT;
337
    OCR0B = 0xff-act_ks0108_INITIAL_BACKLIGHT;
338
    DDRD |= (1<<PD5);
338
    DDRD |= (1<<PD5);
-
 
339
   
-
 
340
    /* Start timer for row management */
-
 
341
    Timer_SetTimeout(act_ks0108_DOTMATRIX_TIMER, 1, TimerTypeFreeRunning, &glcdRefresh);   
339
#endif
342
#endif
340
 
343
 
341
 
344
 
342
#if act_ks0108_USE_EXTERNAL_EEPROM==1
345
#if act_ks0108_USE_EXTERNAL_EEPROM==1
343
    TWI_Master_Initialise();
346
    TWI_Master_Initialise();