Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: PQMPU9250 PQINA226 mbed PQAEGPS PQEEPROM PQADXL375 SDFileSystem PQLPS22HB PQES920LR
Diff: main.cpp
- Revision:
- 4:5bc218b2a974
- Parent:
- 3:84d2520b9079
- Child:
- 5:22adf1eae5e4
--- a/main.cpp Thu Feb 20 10:26:08 2020 +0000 +++ b/main.cpp Wed Feb 26 07:03:52 2020 +0000 @@ -60,8 +60,8 @@ Ticker log_ticker; Ticker downlink_ticker; -DigitalIn liftoff_pin(p18); -DigitalIn ems_pin(p19); +DigitalIn liftoff_pin(p21); +DigitalIn ems_pin(p24); DigitalIn flight_pin(p26); DigitalOut sep(p25); @@ -154,6 +154,7 @@ while(1) { read(); led = phase; + if(ems_pin) phase = EMERGENCY; switch(phase) { case SAFETY: break;