Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
17:e247d58d9f42
Parent:
15:b10859606504
Child:
26:ade7c813538f
--- a/robot.cpp	Tue Mar 11 20:02:56 2014 +0000
+++ b/robot.cpp	Tue Mar 11 20:22:18 2014 +0000
@@ -6,7 +6,8 @@
 //this is the main place pinouts are put
 //also sets up the control system constants
 robot::robot() : spi(PTD2, PTD3, PTD1), bigenc(spi,PTD0), gyro(PTE0, PTE1),
-           /* right(bigenc,0,1,PTA5), left(bigenc,2,3,PTA4), */motors(spi,PTD0), pingLeft(PTA13,PTD5) {
+           /* right(bigenc,0,1,PTA5), left(bigenc,2,3,PTA4), */motors(spi,PTD0), pingLeft(PTA13,PTD5),
+           BTLink(PTC4,PTC3) {
     
     //bigenc.setDirections(1,-1,1,1);
     //left.setReversed(1);