Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2579 → Rev 2580

/tags/V2.12a/led.h
0,0 → 1,14
#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)
 
extern void LED_Init(void);
extern void LED_Update(void);
extern unsigned char NC_Wait_for_LED;
extern unsigned int ShutterCounter;
extern unsigned char Out1ChangedFlag; // can be 0 or 0x80