mm4_encoder_testing
Dependencies: QEI mbed-src-AV
Diff: PinDefinitions.h
- Revision:
- 0:c1b3cc00b091
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PinDefinitions.h Fri Nov 06 01:28:38 2015 +0000 @@ -0,0 +1,10 @@ + +#include "mbed.h" +#include "QEI.h" + +PwmOut LMOTORA(PB_5); // change these to D +PwmOut LMOTORB(PB_10); +PwmOut RMOTORA(PB_8); +PwmOut RMOTORB(PA_6); +QEI LENC (PA_4, PA_0, NC, 100); // are the encoder pins correct? +QEI RENC (PB_0, PA_1, NC, 100); // are the encoder pins correct? \ No newline at end of file