summaryrefslogtreecommitdiff
path: root/src/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-23 11:31:34 -0700
committerKeith Packard <keithp@keithp.com>2011-05-23 16:13:55 -0600
commit29e59e4a1041e20fb10aac8715191bde4ab178d1 (patch)
treef9eaa3a381cf7bd1a2448e41c0785114a0ff07d9 /src/ao_pins.h
parent252b7e63715f48e99d0eb26faf1690c909dd2bb2 (diff)
altos: Signal ascent using P1_2 (0 = ascent, 1 = other)
This can control an external recording device to log data only during ascent. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_pins.h')
-rw-r--r--src/ao_pins.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ao_pins.h b/src/ao_pins.h
index 4a03ca50..86389c17 100644
--- a/src/ao_pins.h
+++ b/src/ao_pins.h
@@ -72,6 +72,11 @@
#define M25_MAX_CHIPS 1
#define HAS_ACCEL 1
#define HAS_IGNITE 1
+
+ #define ASCENT_SIGNAL P1_2 /* Use CS1 to signal ascent */
+ #define ASCENT_SIGNAL_DIR P1DIR
+ #define ASCENT_SIGNAL_SEL P1SEL
+ #define ASCENT_SIGNAL_PIN 2
#endif
#if defined(TELEDONGLE_V_0_2)