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