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: CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses
Fork of REVO_Updated_Steering by
Revision 30:f0095515f6cb, committed 2014-10-25
- Comitter:
- tmccurbin
- Date:
- Sat Oct 25 02:20:15 2014 +0000
- Parent:
- 29:9c48604d98b6
- Commit message:
- Rectified button output issue: Input pins were originally listed as output
Changed in this revision
| Steering.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Steering.h Sat Oct 25 01:33:19 2014 +0000
+++ b/Steering.h Sat Oct 25 02:20:15 2014 +0000
@@ -53,16 +53,16 @@
//SW1 - SW3
LPCDigitalOut boSW1(p1_29,1);
-LPCDigitalOut biSWBR(p1_27,1); //BRight
+LPCDigitalIn biSWBR(p1_27,1); //BRight
LPCDigitalOut boSW5(p1_25,1);
-LPCDigitalOut biSWBL(p1_22,1); //BLeft
+LPCDigitalIn biSWBL(p1_22,1); //BLeft
LPCDigitalOut boSW10(p1_10,1);
-LPCDigitalOut biSWTR(p1_8,1); //TRight
+LPCDigitalIn biSWTR(p1_8,1); //TRight
LPCDigitalOut boSW14(p1_1,1);
-LPCDigitalOut biSWTL(p0_25,1); //TLeft
+LPCDigitalIn biSWTL(p0_25,1); //TLeft
typedef union convert{
float FLOAT;
