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.
Diff: definitions.cpp
- Revision:
- 32:771f6d99a77b
- Parent:
- 28:1086791972d0
- Child:
- 33:9198b292a8eb
--- a/definitions.cpp Wed Jun 15 15:32:46 2022 +0000 +++ b/definitions.cpp Mon Jun 20 09:49:27 2022 +0000 @@ -29,6 +29,7 @@ // RTC Outputs DigitalOut rtc_Trigger(PD_14); + // Output LEDs //DigitalOut led_rtcOutput(); // No need as RTC has led output //DigitalOut led_emergencyBrake(PE_11); @@ -79,4 +80,15 @@ DigitalIn pressureSwitch2(PC_1, PullUp); DigitalIn pressureSwitch3(PC_15, PullUp); //DigitalIn brakePressure(PH_0); // NOT INSTALLED -DigitalIn mainlinePressure(PH_1, PullUp); \ No newline at end of file +DigitalIn mainlinePressure(PH_1, PullUp); + +///Eergy Storage; + +AnalogIn vref_powercab(PA_3); +AnalogIn vref_supercap(PF_5); +AnalogIn vout_powercab(PC_3); +AnalogIn vout_supercap(PF_3); + +///Lights +DigitalOut FrontLight(PB_14); +DigitalOut BackLight(PB_15); \ No newline at end of file