Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1967 → Rev 1968

/branches/dongfang_FC_rewrite/output.h
44,18 → 44,6
* at hand is resolved.
*/
 
// Both on
#define DEBUG_LEDTEST_ON 1000
 
// Both off
#define DEBUG_LEDTEST_OFF 1001
 
// #0 on
#define DEBUG_LEDTEST_0 1002
 
// #1 on
#define DEBUG_LEDTEST_1 1003
 
#define DEBUG_MAINLOOP_TIMER 1
#define DEBUG_HEIGHT_DIFF 2
#define DEBUG_HOVERTHROTTLE 4
65,12 → 53,12
#define DEBUG_CLIP 64
#define DEBUG_SENSORLIMIT 128
 
#define OUTPUTOPTIONS_INVERT_0 1
#define OUTPUTOPTIONS_INVERT_1 2
#define OUTPUTOPTIONS_FLASH_AT_BEEP 4
#define OUTPUTOPTIONS_USE_ONBOARD_LEDS 8
#define OUTPUTOPTIONS_TEST_LO 64
#define OUTPUTOPTIONS_TEST_HI 128
#define OUTPUTOPTIONS_INVERT_0 1 // Inverted: 1 means low output on atmega. Does not affect on-board LED (if used with the OUTPUTOPTIONS_USE_ONBOARD_LEDS option)
#define OUTPUTOPTIONS_INVERT_1 2 // Inverted: 1 means low output on atmega. Does not affect on-board LED (if used with the OUTPUTOPTIONS_USE_ONBOARD_LEDS option)
#define OUTPUTOPTIONS_FLASH_AT_BEEP 4 // Flash LEDs when beeper beeps
#define OUTPUTOPTIONS_USE_ONBOARD_LEDS 8 // Control on-board LEDs in addition to outputs
#define OUTPUTOPTIONS_TEST_OFF 64 // For testing: Turn off both outputs
#define OUTPUTOPTIONS_TEST_ON 128 // For testing: Turn on both outputs
 
/*
* Set to 0 for using outputs as the usual flashing lights.