Sets motor currents based on input motorvalue
Diff: motorConfig.h
- Revision:
- 1:84cb991c4d28
- Parent:
- 0:131a76b8848a
- Child:
- 2:91ea2963629a
diff -r 131a76b8848a -r 84cb991c4d28 motorConfig.h --- a/motorConfig.h Tue Oct 17 09:51:50 2017 +0000 +++ b/motorConfig.h Sun Oct 22 08:43:06 2017 +0000 @@ -4,7 +4,7 @@ #include "mbed.h" #include "FastPWM.h" -enum robotStates {KILLED, ACTIVE}; +enum robotStates {KILLED, ACTIVE, CALIBRATE}; class motorConfig { public: