Sets motor currents based on input motorvalue
Diff: motorConfig.cpp
- Revision:
- 1:84cb991c4d28
- Parent:
- 0:131a76b8848a
- Child:
- 2:91ea2963629a
--- a/motorConfig.cpp Tue Oct 17 09:51:50 2017 +0000 +++ b/motorConfig.cpp Sun Oct 22 08:43:06 2017 +0000 @@ -46,6 +46,15 @@ ledG = 1; ledB = 0; break; + case CALIBRATE: + pwmPin.write(0.0); + + + ledR = 1; + ledG = 0; + ledB = 0; + + break; } }