added gy80 dcm
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
Diff: quadCommand/motor/motor.cpp
- Revision:
- 57:c29f2dac3903
- Parent:
- 56:a550127695b2
- Child:
- 59:9dfd9169a5e7
--- a/quadCommand/motor/motor.cpp Tue Jul 02 21:03:46 2013 +0000 +++ b/quadCommand/motor/motor.cpp Wed Jul 03 02:40:28 2013 +0000 @@ -17,7 +17,7 @@ motor::motor( PinName pin ) { pwmPin = new PwmOut( pin ); - pwmPin->period( 0.020 ); // Set the period to 20ms. + pwmPin->period( 0.020 ); // Set the period to 20ms. setPulseMin( 0.001150 ); // Set default min pulse. setPulseMax( 0.002 ); // Set default max pulse. setSpeed( 0 ); // Set motor to stopped.