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.
Dependents: Lab9-01_All_transmit Lab9-03_Thermal_chamber 3daf572bcae1 Team ... more
Fork of HeptaBattery by
Diff: HeptaBattery.cpp
- Revision:
- 6:869e6fe3ba64
- Parent:
- 5:15a6a4425889
- Child:
- 8:92dcd75454b5
- Child:
- 9:7d0aaedfe1c0
--- a/HeptaBattery.cpp Tue Sep 05 12:46:27 2017 +0000 +++ b/HeptaBattery.cpp Wed Nov 15 02:38:28 2017 +0000 @@ -17,6 +17,11 @@ _bat_ct = 0; } +void HeptaBattery::turn_on_regulator() +{ + _bat_ct = 1; +} + void HeptaBattery::vol_u16(char* bt_u16) { unsigned short bt_datas;