Railway Challenge
/
challenge
Uncommenting of part that allow supercaps to charge up from the batteries
Diff: definitions.cpp
- Revision:
- 27:0098df64b05b
- Parent:
- 18:d28d458824d4
- Child:
- 29:8149eec6d6e7
diff -r 37450381ffe9 -r 0098df64b05b definitions.cpp --- a/definitions.cpp Mon Jun 13 14:00:13 2022 +0000 +++ b/definitions.cpp Wed Jun 15 10:34:03 2022 +0000 @@ -71,8 +71,8 @@ //DigitalOut contactMtr2(PG_8); //mechanical braking and other air components. -DigitalOut brakeValve32(PF_2); -DigitalOut brakeValve22(PF_8); +DigitalOut brakeValve32(PD_3); //wire 90 - back brake pin +DigitalOut brakeValve22(PC_0); //wire 91 - front brake pin DigitalOut whistleValve32(PG_15); DigitalIn pressureSwitch1(PC_13, PullUp);