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: millis
Diff: main.cpp
- Revision:
- 35:2f476d981896
- Parent:
- 33:9198b292a8eb
- Child:
- 36:af4fb5f4988a
--- a/main.cpp Wed Jun 22 10:43:32 2022 +0000
+++ b/main.cpp Wed Jun 22 11:14:32 2022 +0000
@@ -111,6 +111,7 @@
}
///Energy Storage
//energy storage display code
+/*
void EnergyStorage()
{
float current_powercab=((2*vout_powercab)-vref_powercab)*250; //voltage change to current conversion
@@ -124,7 +125,8 @@
remote.sendData(9,scap);
remote.sendData(10,pcab);
-}
+}
+*/
int main() {
@@ -162,7 +164,7 @@
brakeControl(remote.braking);
//Energy Storage Display
- EnergyStorage();
+ //EnergyStorage();
// SOUND WHISTLE IF WHISTLE BUTTON PRESSED
if (remote.whistle == 0) {