Subversion Repositories Projects

Rev

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

Rev 271 Rev 284
Line 8... Line 8...
8
#define LEDRED_ON               PORTB &= ~(1<<PORTB0)
8
#define LEDRED_ON               PORTB &= ~(1<<PORTB0)
9
#define LEDRED_TOGGLE   PORTB ^=  (1<<PORTB0)
9
#define LEDRED_TOGGLE   PORTB ^=  (1<<PORTB0)
10
#endif
10
#endif
Line 11... Line 11...
11
 
11
 
12
#ifdef USE_FOLLOWME
12
#ifdef USE_FOLLOWME
13
#define LEDGRN_OFF      PORTB |=  (1<<PORTB0)
13
#define LEDGRN_OFF      PORTB |=  (1<<PORTB1)
14
#define LEDGRN_ON               PORTB &= ~(1<<PORTB0)
14
#define LEDGRN_ON               PORTB &= ~(1<<PORTB1)
Line 15... Line 15...
15
#define LEDGRN_TOGGLE   PORTB ^=  (1<<PORTB0)
15
#define LEDGRN_TOGGLE   PORTB ^=  (1<<PORTB1)
16
 
16
 
17
#define LEDRED_OFF      PORTB |=  (1<<PORTB1)
17
#define LEDRED_OFF      PORTB |=  (1<<PORTB0)
18
#define LEDRED_ON               PORTB &= ~(1<<PORTB1)
18
#define LEDRED_ON               PORTB &= ~(1<<PORTB0)
Line 19... Line 19...
19
#define LEDRED_TOGGLE   PORTB ^=  (1<<PORTB1)
19
#define LEDRED_TOGGLE   PORTB ^=  (1<<PORTB0)
Line 20... Line 20...
20
#endif
20
#endif