HeptaBattery library
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;