Railway Challenge
/
challenge
Uncommenting of part that allow supercaps to charge up from the batteries
rtc.h@0:4788e1df7b55, 2020-03-13 (annotated)
- Committer:
- rwcjoliver
- Date:
- Fri Mar 13 11:48:04 2020 +0000
- Revision:
- 0:4788e1df7b55
Uncommented RegenBRaking lines to allow capacitors to charge up from the batteries
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rwcjoliver | 0:4788e1df7b55 | 1 | #ifndef RTC_H |
rwcjoliver | 0:4788e1df7b55 | 2 | #define RTC_H |
rwcjoliver | 0:4788e1df7b55 | 3 | |
rwcjoliver | 0:4788e1df7b55 | 4 | class RoundTrainCircuit { |
rwcjoliver | 0:4788e1df7b55 | 5 | public: |
rwcjoliver | 0:4788e1df7b55 | 6 | RoundTrainCircuit (DigitalIn rtc_1, |
rwcjoliver | 0:4788e1df7b55 | 7 | DigitalIn rtc_2, |
rwcjoliver | 0:4788e1df7b55 | 8 | DigitalIn rtc_3, |
rwcjoliver | 0:4788e1df7b55 | 9 | DigitalIn rtc_4, |
rwcjoliver | 0:4788e1df7b55 | 10 | DigitalIn rtc_5, |
rwcjoliver | 0:4788e1df7b55 | 11 | DigitalIn rtc_6, |
rwcjoliver | 0:4788e1df7b55 | 12 | DigitalIn rtc_7, |
rwcjoliver | 0:4788e1df7b55 | 13 | DigitalIn rtc_override); |
rwcjoliver | 0:4788e1df7b55 | 14 | |
rwcjoliver | 0:4788e1df7b55 | 15 | DigitalIn deadman; |
rwcjoliver | 0:4788e1df7b55 | 16 | DigitalIn emergencyButtonLeft; |
rwcjoliver | 0:4788e1df7b55 | 17 | DigitalIn emergencyButtonRight; |
rwcjoliver | 0:4788e1df7b55 | 18 | DigitalIn heatDetector; |
rwcjoliver | 0:4788e1df7b55 | 19 | DigitalIn driverCord; |
rwcjoliver | 0:4788e1df7b55 | 20 | DigitalIn superCapOverVoltage; |
rwcjoliver | 0:4788e1df7b55 | 21 | DigitalIn spare; |
rwcjoliver | 0:4788e1df7b55 | 22 | DigitalIn override; |
rwcjoliver | 0:4788e1df7b55 | 23 | |
rwcjoliver | 0:4788e1df7b55 | 24 | void getTriggerCause(); |
rwcjoliver | 0:4788e1df7b55 | 25 | }; |
rwcjoliver | 0:4788e1df7b55 | 26 | |
rwcjoliver | 0:4788e1df7b55 | 27 | #endif |