Updated for the next revision of the motor board
Diff: MotorShield.cpp
- Revision:
- 4:2b45973bdc67
- Parent:
- 3:2f46953e7c8b
- Child:
- 5:d2dffc88e94d
diff -r 2f46953e7c8b -r 2b45973bdc67 MotorShield.cpp --- a/MotorShield.cpp Wed Aug 26 02:43:57 2020 +0000 +++ b/MotorShield.cpp Wed Aug 26 02:49:34 2020 +0000 @@ -1,5 +1,8 @@ /* Library to interface with 2.74 Motor Shield ** Uses low level HAL libraries to enable high speed PWM +** Use as follows: +** - Create shield object and specify PWM period for the motors +** - Set the duty cycle and direction for each motor */ #include "mbed.h"