Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
2:7c6b494f9005
Parent:
1:c28fac16a109
Child:
3:a223b0bf8256
diff -r c28fac16a109 -r 7c6b494f9005 robot.cpp
--- a/robot.cpp	Sun Nov 17 03:05:35 2013 +0000
+++ b/robot.cpp	Sun Nov 17 03:17:09 2013 +0000
@@ -4,7 +4,7 @@
 #define MAX(a,b) ((b>a)?(b):(a))
 
 robot::robot() : spi(PTD2, PTD3, PTD1), bigenc(spi,PTD0), /*gyro(p9, p10),*/
-            right(bigenc,0,1,PTA4), left(bigenc,2,3,PTA5){
+            right(bigenc,0,1,PTA5), left(bigenc,2,3,PTA4){
     
     bigenc.setDirections(1,-1,1,1);
     left.setReversed(1);