Penn Electric Racing / Mbed 2 deprecated REVO_Updated_Steering

Dependencies:   CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses

Fork of REVO_Updated_Steering by Penn Electric

Files at this revision

API Documentation at this revision

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;