Motor Shield Example code for 2.74 Class @ MIT
Dependents: experiment_example motor_shield_example Lab3_experiment_example jumping_leg_clicky
HardwareSetup.h
- Committer:
- elijahsj
- Date:
- 2020-08-25
- Revision:
- 1:4c3c2b7337a6
- Child:
- 3:2f46953e7c8b
File content as of revision 1:4c3c2b7337a6:
#include "mbed.h" #define PWM_PERIOD 500 //Defines the PWM period for all the motors void initHardware();