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: mbed HeptaBattery SDFileSystem HeptaCamera_GPS Hepta9axis HeptaTemp HeptaXbee
Fork of Lab7-01_template by
Revision 26:b246e83efad4, committed 2019-08-22
- Comitter:
- HEPTA
- Date:
- Thu Aug 22 05:41:12 2019 +0000
- Parent:
- 25:b9b1257f6e9a
- Commit message:
Changed in this revision
| HeptaBattery.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HeptaBattery.lib Wed Aug 21 09:49:18 2019 +0000 +++ b/HeptaBattery.lib Thu Aug 22 05:41:12 2019 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/HEPTA/code/HeptaBattery/#7d0aaedfe1c0 +https://developer.mbed.org/users/HEPTA/code/HeptaBattery/#65c3076b5c24
--- a/main.cpp Wed Aug 21 09:49:18 2019 +0000
+++ b/main.cpp Thu Aug 22 05:41:12 2019 +0000
@@ -34,7 +34,7 @@
FILE *dummy = fopen("/sd/MissionData/dum.txt","w");
fclose(dummy);
while(1) {
- //battery.power_saving_mode(&flag,&bt);
+ battery.power_saving_mode(&flag,&bt);
temp.temp_sense(&temper);
wait(0.5);
xbee.printf("flag = %d, bt = %.2f [V], temp = %.1f [C]\r\n",flag,bt,temper);
