Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2134 → Rev 2135

/branches/dongfang_FC_fixedwing/arduino_atmega328/configuration.h
204,12 → 204,12
#define SYSCLK F_CPU
 
// Not really a part of configuration, but LEDs and HW s test are the same.
#define RED_OFF {PORTD &=~(1<<PORTD6);}
#define RED_ON {PORTD |= (1<<PORTD6);}
#define RED_FLASH PORTD ^= (1<<PORTD6)
#define GRN_OFF {PORTD &=~(1<<PORTD7);}
#define GRN_ON {PORTD |= (1<<PORTD7);}
#define GRN_FLASH PORTD ^= (1<<PORTD7)
#define RED_OFF {PORTB &=~(1<<PORTB4);}
#define RED_ON {PORTB |= (1<<PORTB4);}
#define RED_FLASH PORTB ^= (1<<PORTB4)
#define GRN_OFF {PORTB &=~(1<<PORTB5);}
#define GRN_ON {PORTB |= (1<<PORTB5);}
#define GRN_FLASH PORTB ^= (1<<PORTB5)
 
// Mixer table
#define MIX_THROTTLE 0