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:
palimar
Date:
Sat Oct 25 16:40:38 2014 +0000
Parent:
17:e97c889873e2
Child:
19:5c03aa4dfde1
Commit message:
None -> PullDown for inputs

Changed in this revision

Steering.h Show annotated file Show diff for this revision Revisions of this file
--- a/Steering.h	Sat Oct 25 15:59:51 2014 +0000
+++ b/Steering.h	Sat Oct 25 16:40:38 2014 +0000
@@ -55,16 +55,16 @@
 
 //SW1 - SW3
 LPCDigitalOut boSW1(p1_29,1);
-LPCDigitalIn biSWBR(p1_27);     //BRight
+LPCDigitalIn biSWBR(p1_27, PullDown);     //BRight
 
 LPCDigitalOut boSW5(p1_25,1);
-LPCDigitalIn biSWBL(p1_22);     //BLeft
+LPCDigitalIn biSWBL(p1_22, PullDown);     //BLeft
 
 LPCDigitalOut boSW10(p1_10,1);
-LPCDigitalIn biSWTR(p1_8);     //TRight
+LPCDigitalIn biSWTR(p1_8, PullDown);     //TRight
 
 LPCDigitalOut boSW14(p1_1,1);
-LPCDigitalIn biSWTL(p0_25);    //TLeft
+LPCDigitalIn biSWTL(p0_25, PullDown);    //TLeft
 
 typedef union convert{
         float FLOAT;