Subversion Repositories Projects

Rev

Rev 231 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 231 Rev 271
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 LEDYELLOW_OFF           PORTB |=  (1<<PORTB0)
13
#define LEDGRN_OFF      PORTB |=  (1<<PORTB0)
14
#define LEDYELLOW_ON            PORTB &= ~(1<<PORTB0)
14
#define LEDGRN_ON               PORTB &= ~(1<<PORTB0)
Line 15... Line 15...
15
#define LEDYELLOW_TOGGLE        PORTB ^=  (1<<PORTB0)
15
#define LEDGRN_TOGGLE   PORTB ^=  (1<<PORTB0)
16
 
16
 
17
#define LEDRED_OFF      PORTB |=  (1<<PORTB1)
17
#define LEDRED_OFF      PORTB |=  (1<<PORTB1)
18
#define LEDRED_ON               PORTB &= ~(1<<PORTB1)
18
#define LEDRED_ON               PORTB &= ~(1<<PORTB1)