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: FreescaleIAP mbed-rtos mbed
Fork of BAE_CODE_MARCH_2017 by
Diff: EPS.cpp
- Revision:
- 48:9fd15e3e0b53
- Parent:
- 39:670133e7ffd8
- Child:
- 49:61c9f28332ba
--- a/EPS.cpp Thu Jul 07 14:34:00 2016 +0000 +++ b/EPS.cpp Fri Jul 08 08:25:39 2016 +0000 @@ -107,7 +107,7 @@ DigitalInOut TRXY(TRXY_DR_EN); //active high DigitalInOut TRZ(TRZ_DR_EN); //active high DigitalInOut EN3V3A(ENBL3V3A); -DigitalInOut BTRY_HTR_ENABLE(BATT_HEAT);// earlier BTRY_HTR_ENABLE +DigitalOut BTRY_HTR_ENABLE(BATT_HEAT);// earlier BTRY_HTR_ENABLE //DigitalIn BTRY_HT_OUTPUT(BATT_HEAT_OUTPUT); //AnalogIn Vbatt_ang(VBATT); AnalogIn Batt_voltage(PIN20); //Battery voltage @@ -426,6 +426,7 @@ for(Iteration=0; Iteration<16; Iteration++) { actual_data.voltage_actual[Iteration]=VoltageInput.read(); + wait_ms(100); //remove actual_data.current_actual[Iteration]=CurrentInput.read(); SelectLinea0=!(SelectLinea0);