mm4_encoder_testing
Dependencies: QEI mbed-src-AV
PinDefinitions.h
- Committer:
- jliu
- Date:
- 2015-11-11
- Revision:
- 2:664717ad13cc
- Parent:
- 0:c1b3cc00b091
File content as of revision 2:664717ad13cc:
#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?