Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
886 | 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 LED1_Time; |
||
15 | extern uint16_t LED2_Time; |
||
16 | |||
17 | extern void LED_Init(void); |
||
18 | extern void LED_Update(void); |
||
19 | |||
20 | |||
21 | #endif //_LED_H |
||
22 |