Subversion Repositories Projects

Rev

Rev 231 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 231 Rev 271
Line 10... Line 10...
10
        DDRB |= (1<<DDB0);
10
        DDRB |= (1<<DDB0);
11
        LEDRED_OFF;
11
        LEDRED_OFF;
12
        #endif
12
        #endif
Line 13... Line 13...
13
 
13
 
14
        #ifdef USE_FOLLOWME
14
        #ifdef USE_FOLLOWME
15
        // set PB0 as output (control of yellow LED)
15
        // set PB0 as output (control of green LED)
16
        DDRB |= (1<<DDB0);
16
        DDRB |= (1<<DDB0);
17
        LEDYELLOW_OFF;
17
        LEDGRN_OFF;
18
        // set PB1 as output (control of red LED)
18
        // set PB1 as output (control of red LED)
19
        DDRB |= (1<<DDB1);
19
        DDRB |= (1<<DDB1);
20
        LEDRED_OFF;
20
        LEDRED_OFF;