Motor Shield Example code for 2.74 Class @ MIT
Dependents: experiment_example motor_shield_example Lab3_experiment_example jumping_leg_clicky
Diff: HardwareSetup.h
- Revision:
- 3:2f46953e7c8b
- Parent:
- 1:4c3c2b7337a6
- Child:
- 6:417655779dc5
--- a/HardwareSetup.h Wed Aug 26 00:24:51 2020 +0000 +++ b/HardwareSetup.h Wed Aug 26 02:43:57 2020 +0000 @@ -1,5 +1,4 @@ #include "mbed.h" -#define PWM_PERIOD 500 //Defines the PWM period for all the motors -void initHardware(); +void initHardware(int periodTicks);