Motor Shield Example code for 2.74 Class @ MIT

Dependents:   experiment_example motor_shield_example Lab3_experiment_example jumping_leg_clicky

Committer:
elijahsj
Date:
Wed Aug 26 19:35:02 2020 +0000
Revision:
6:417655779dc5
Parent:
3:2f46953e7c8b
Working but ADCs need DMA to run high speed loops

Who changed what in which revision?

UserRevisionLine numberNew 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