Utilities classes for the Zumo Robot
Dependents: ZumoRobotBluetoothControlled Fsl_Zumo
This library represents some useful code for controlling your Zumo Robot.
Diff: ZumoRobotManager.cpp
- Revision:
- 6:7740c9d8d834
- Parent:
- 5:5e12111ef01f
- Child:
- 7:d2af97b7cc94
diff -r 5e12111ef01f -r 7740c9d8d834 ZumoRobotManager.cpp --- a/ZumoRobotManager.cpp Thu Dec 11 20:52:06 2014 +0000 +++ b/ZumoRobotManager.cpp Sun Dec 21 12:46:41 2014 +0000 @@ -101,10 +101,10 @@ } // Do whatever you want with these powers - - pwmLeft.period_us(100); - pwmRight.period_us(100); - + + pwmLeft.period_us(60); + pwmRight.period_us(60); + if (powerLeftEngine >= 0) { dirLeft = 0; pwmLeft.pulsewidth_us(powerLeftEngine);