For Hepta-Sat Lite
Diff: HeptaBattery.cpp
- Revision:
- 11:2d5ef7475e31
- Parent:
- 10:00fc48db2361
--- a/HeptaBattery.cpp Wed Aug 21 12:14:13 2019 +0000 +++ b/HeptaBattery.cpp Tue Aug 17 10:50:52 2021 +0000 @@ -4,7 +4,7 @@ HeptaBattery::HeptaBattery(PinName bat, PinName bat_ct) : _bat(bat),_bat_ct(bat_ct) { _bat_ct = 1; - PHY_PowerDown();//stop Ethernet PHYchip + //PHY_PowerDown();//stop Ethernet PHYchip } void HeptaBattery::vol(float* bt) @@ -20,6 +20,7 @@ void HeptaBattery::turn_on_regulator() { _bat_ct = 1; + wait_ms(1000); } void HeptaBattery::vol_u16(char* bt_u16)