Subversion Repositories HomeAutomation

Rev

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

Rev 967 Rev 996
Line 8... Line 8...
8
    ///FIXME: What is this, this needs to be more clear by far....
8
    ///FIXME: What is this, this needs to be more clear by far....
9
 
9
 
10
    // Contrast
10
    // Contrast
11
    TCCR0A |= (1<<COM0B1)|(1<<WGM01)|(1<<WGM00);
11
    TCCR0A |= (1<<COM0B1)|(1<<WGM01)|(1<<WGM00);
12
    TCCR0B |= (1<<CS00);
12
    TCCR0B |= (1<<CS00);
13
    OCR0B = 0x10;
13
    OCR0B = act_hd44780_INITIAL_CONTRAST;
14
    DDRD |= (1<<DDD5);
14
    DDRD |= (1<<DDD5);
15
 
15
 
16
 
16
 
17
    // Backlight
17
    // Backlight
18
    TCCR1A |= (1<<COM1A1)|(1<<WGM11);
18
    TCCR1A |= (1<<COM1A1)|(1<<WGM11);