Motor is being implemented in this version. Trying to implement catching errors

Dependencies:   mbed Tracker

Revision:
5:dc4cf6cc24b3
Parent:
4:2f1a0f628875
--- a/DumpTruck.cpp	Tue Nov 29 20:04:34 2016 +0000
+++ b/DumpTruck.cpp	Tue Feb 07 21:01:20 2017 +0000
@@ -1,21 +1,14 @@
 #include "DumpTruck.h"
-#include "stdlib.h"
-#include "QEI.h"
+/*#include "stdlib.h"
 #include "stdio.h"
-#include "string.h"
+#include "string.h"*/
 
-
-Serial pc(USBTX, USBRX);
+//Serial pc(USBTX, USBRX);
 
 DumpTruck::DumpTruck(int truckId) : truckNumber(truckId) {
     truckNumber = truckId;
 }
 
-QEI wheel (p15, p16, NC, 128, QEI::X4_ENCODING); //orange, yellow
-float pulseCount; //number of pulses detected by encoder
-float encoding = 2; //X2
-float d = 13.25; //inches of circumference
-float distance;
 PwmOut DrivePin(p24);
 DigitalOut DirPin(p30);
 float travelled;
@@ -250,5 +243,7 @@
 //    float input = AnalogIn(x); // data from potentiometer
 //    return input;
 //    }
-//    
+//  
 
+*/  
+