test

Fork of MotorDriver by Bryce Williams

Revision:
1:19476b49822b
Parent:
0:871adb9cf798
--- a/MotorDriver.h	Tue Dec 08 00:11:04 2015 +0000
+++ b/MotorDriver.h	Sat Nov 25 02:02:40 2017 +0000
@@ -32,7 +32,7 @@
 
 #include "mbed.h"
 
-typedef enum {ERROR=0, DRIVING_CW=1, DRIVING_CCW=2, BRAKING=3, COASTING=4}Code_t;
+typedef enum {ERROR_M=0, DRIVING_CW=1, DRIVING_CCW=2, BRAKING=3, COASTING=4}Code_t;
 typedef struct{
     Code_t code;     
     float  value;