Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
3:a223b0bf8256
Parent:
2:7c6b494f9005
Child:
4:adc885f4ab75
--- a/robot.cpp	Sun Nov 17 03:17:09 2013 +0000
+++ b/robot.cpp	Sun Nov 17 04:15:18 2013 +0000
@@ -3,7 +3,7 @@
 #define MIN(a,b) ((b<a)?(b):(a))
 #define MAX(a,b) ((b>a)?(b):(a))
 
-robot::robot() : spi(PTD2, PTD3, PTD1), bigenc(spi,PTD0), /*gyro(p9, p10),*/
+robot::robot() : spi(PTD2, PTD3, PTD1), bigenc(spi,PTD0), gyro(PTE0, PTE1),
             right(bigenc,0,1,PTA5), left(bigenc,2,3,PTA4){
     
     bigenc.setDirections(1,-1,1,1);