Subversion Repositories FlightCtrl

Rev

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

Rev 1994 Rev 1995
Line 1... Line 1...
1
#include <avr/io.h>
1
#include <avr/io.h>
2
 
2
 
3
#define J16_ON          PORTC |=  (1<<PORTC2)
3
#define J16_ON          PORTC |=  (1<<PORTC2)
4
#define J16_OFF         PORTC &= ~(1<<PORTC2)
4
#define J16_OFF         PORTC &= ~(1<<PORTC2)
5
#define J16_TOGGLE      PORTC ^=  (1<<PORTC2)
5
#define J16_TOGGLE      PORTC ^=  (1<<PORTC2)
6
#define J17_ON          PORTC |=  (1<<PORTC3)
6
#define J17_ON          PORTC |=  (1<<PORTC3)
7
#define J17_OFF         PORTC &= ~(1<<PORTC3)
7
#define J17_OFF         PORTC &= ~(1<<PORTC3)
8
#define J17_TOGGLE      PORTC ^=  (1<<PORTC3)
8
#define J17_TOGGLE      PORTC ^=  (1<<PORTC3)
9
 
9
 
10
extern void LED_Init(void);
10
extern void LED_Init(void);
11
extern void LED_Update(void);
11
extern void LED_Update(void);