This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
Diff: Sensors/Encoders/Encoder.cpp
- Revision:
- 20:70d651156779
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Sensors/Encoders/Encoder.cpp Tue Apr 09 15:33:36 2013 +0000 @@ -0,0 +1,8 @@ + +#include "globals.h" +#include "Encoder.h" + +#ifdef ENABLE_GLOBAL_ENCODERS + Encoder right_encoder(P_ENC_RIGHT_A, P_ENC_RIGHT_B); + Encoder left_encoder(P_ENC_LEFT_A, P_ENC_LEFT_B); +#endif \ No newline at end of file