Subversion Repositories FlightCtrl

Rev

Rev 1539 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1538 killagreg 1
#ifndef _LED_H
2
#define _LED_H
3
 
4
#include <avr/io.h>
5
 
6
#define J16_ON          PORTC |=  (1<<PORTC2)
7
#define J16_OFF         PORTC &= ~(1<<PORTC2)
8
#define J16_TOGGLE      PORTC ^=  (1<<PORTC2)
9
#define J17_ON          PORTC |=  (1<<PORTC3)
10
#define J17_OFF         PORTC &= ~(1<<PORTC3)
11
#define J17_TOGGLE      PORTC ^=  (1<<PORTC3)
12
 
13
 
14
void LED_Init(void);
15
void LED_Update(void);
16
 
17
 
18
#endif //_LED_H
19