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.
Revision 21:a1db0106c09a, committed 2017-06-09
- Comitter:
- chasefarmer2808
- Date:
- Fri Jun 09 01:16:18 2017 +0000
- Parent:
- 20:d8044cd4819f
- Commit message:
- yo
Changed in this revision
Glider.cpp | Show annotated file Show diff for this revision Revisions of this file |
Glider.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r d8044cd4819f -r a1db0106c09a Glider.cpp --- a/Glider.cpp Tue May 16 17:20:59 2017 +0000 +++ b/Glider.cpp Fri Jun 09 01:16:18 2017 +0000 @@ -130,12 +130,12 @@ break; case CMD_RESET: //'z' was recieved xbee->printf("resetting save file...\r\n"); - /* + state = 0; packetCount = 0; startTime = 0; saveData(); - */ + //remove("/telem/data.txt");
diff -r d8044cd4819f -r a1db0106c09a Glider.h --- a/Glider.h Tue May 16 17:20:59 2017 +0000 +++ b/Glider.h Fri Jun 09 01:16:18 2017 +0000 @@ -29,9 +29,9 @@ #define BUZZER_FREQ 700.0 -#define ALT_THRESH 100.0 //meters +#define ALT_THRESH -1.0 //meters -#define EMERGENCY_TIMEOUT 30.0 //seconds before buzzer will sound forever no matter what +#define EMERGENCY_TIMEOUT 60.0 //seconds before buzzer will sound forever no matter what class Glider { public: