most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown
Dependencies: mbed MODSERIAL FATFileSystem
Diff: System/StaticDefs.cpp
- Revision:
- 79:3688c3a0d7f4
- Parent:
- 77:60034ab20cf9
- Child:
- 80:4e5d306d695b
diff -r 17abcd1f08bf -r 3688c3a0d7f4 System/StaticDefs.cpp --- a/System/StaticDefs.cpp Fri Aug 17 16:52:00 2018 +0000 +++ b/System/StaticDefs.cpp Tue Oct 23 20:35:16 2018 +0000 @@ -19,8 +19,8 @@ //} MODSERIAL & xbee() { - static MODSERIAL xb(p9, p10); //XBee tx, rx pins - //static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins + //static MODSERIAL xb(p9, p10); //XBee tx, rx pins + static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins return xb; } @@ -29,12 +29,10 @@ return local; } -/*************************************************************** Conflict with IMU SDFileSystem & sd_card() { static SDFileSystem sd_card(p11, p12, p13, p14, "sd"); //SDFileSystem sd_card(MOSI, MISO, SCK, CS, "sd"); return sd_card; } -*/ SpiADC & adc() { static SpiADC adc(p5,p6,p7,p8,LED2);