Subversion Repositories FlightCtrl

Rev

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

#ifndef _LED_H
#define _LED_H

#include <avr/io.h>

#define J16_ON          PORTC |=  (1<<PORTC2)
#define J16_OFF         PORTC &= ~(1<<PORTC2)
#define J16_TOGGLE      PORTC ^=  (1<<PORTC2)
#define J17_ON          PORTC |=  (1<<PORTC3)
#define J17_OFF         PORTC &= ~(1<<PORTC3)
#define J17_TOGGLE      PORTC ^=  (1<<PORTC3)


void LED_Init(void);
void LED_Update(void);


#endif //_LED_H