Subversion Repositories FlightCtrl

Rev

Rev 1964 | Rev 1986 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1964 Rev 1968
Line 42... Line 42...
42
 *
42
 *
43
 * Digital debugs may be added as desired, and removed when the mystery
43
 * Digital debugs may be added as desired, and removed when the mystery
44
 * at hand is resolved.
44
 * at hand is resolved.
45
 */
45
 */
Line 46... Line -...
46
 
-
 
47
// Both on
-
 
48
#define DEBUG_LEDTEST_ON  1000
-
 
49
 
-
 
50
// Both off
-
 
51
#define DEBUG_LEDTEST_OFF 1001
-
 
52
 
-
 
53
// #0 on
-
 
54
#define DEBUG_LEDTEST_0   1002
-
 
55
 
-
 
56
// #1 on
-
 
57
#define DEBUG_LEDTEST_1   1003
-
 
58
 
46
 
59
#define DEBUG_MAINLOOP_TIMER 1
47
#define DEBUG_MAINLOOP_TIMER 1
60
#define DEBUG_HEIGHT_DIFF    2
48
#define DEBUG_HEIGHT_DIFF    2
61
#define DEBUG_HOVERTHROTTLE  4
49
#define DEBUG_HOVERTHROTTLE  4
62
#define DEBUG_ACC0THORDER    8
50
#define DEBUG_ACC0THORDER    8
63
#define DEBUG_SIGNAL        16
51
#define DEBUG_SIGNAL        16
64
#define DEBUG_PRESSURERANGE 32
52
#define DEBUG_PRESSURERANGE 32
65
#define DEBUG_CLIP          64
53
#define DEBUG_CLIP          64
Line 66... Line 54...
66
#define DEBUG_SENSORLIMIT  128
54
#define DEBUG_SENSORLIMIT  128
67
 
55
 
68
#define OUTPUTOPTIONS_INVERT_0         1
56
#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)
69
#define OUTPUTOPTIONS_INVERT_1         2
57
#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)
70
#define OUTPUTOPTIONS_FLASH_AT_BEEP    4
58
#define OUTPUTOPTIONS_FLASH_AT_BEEP    4 // Flash LEDs when beeper beeps
71
#define OUTPUTOPTIONS_USE_ONBOARD_LEDS 8
59
#define OUTPUTOPTIONS_USE_ONBOARD_LEDS 8 // Control on-board LEDs in addition to outputs
Line 72... Line 60...
72
#define OUTPUTOPTIONS_TEST_LO         64
60
#define OUTPUTOPTIONS_TEST_OFF        64 // For testing: Turn off both outputs
73
#define OUTPUTOPTIONS_TEST_HI        128 
61
#define OUTPUTOPTIONS_TEST_ON        128 // For testing: Turn on both outputs
74
 
62
 
75
/*
63
/*