Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
763 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
extern uint16_t LED_OffTime;
15
extern uint16_t LED_OnTime;
16
 
17
extern void LED_Init(void);
18
extern void LED_Update(void);
19
 
20
 
21
#endif //_LED_H
22