Motor Shield Example code for 2.74 Class @ MIT
Dependents: experiment_example motor_shield_example Lab3_experiment_example jumping_leg_clicky
HardwareSetup.h@8:46feb6919761, 2022-09-16 (annotated)
- Committer:
- adimmit
- Date:
- Fri Sep 16 01:36:38 2022 +0000
- Revision:
- 8:46feb6919761
- Parent:
- 6:417655779dc5
updated for new motor driver
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elijahsj | 1:4c3c2b7337a6 | 1 | #include "mbed.h" |
elijahsj | 1:4c3c2b7337a6 | 2 | |
elijahsj | 3:2f46953e7c8b | 3 | void initHardware(int periodTicks); |
elijahsj | 6:417655779dc5 | 4 | uint16_t readADC1(int channel); |
elijahsj | 6:417655779dc5 | 5 | uint16_t readADC2(int channel); |
elijahsj | 1:4c3c2b7337a6 | 6 |