This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
Sensors/Encoders/Encoder.cpp@20:70d651156779, 2013-04-09 (annotated)
- Committer:
- madcowswe
- Date:
- Tue Apr 09 15:33:36 2013 +0000
- Revision:
- 20:70d651156779
Predict loop running, update loop not done.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
madcowswe | 20:70d651156779 | 1 | |
madcowswe | 20:70d651156779 | 2 | #include "globals.h" |
madcowswe | 20:70d651156779 | 3 | #include "Encoder.h" |
madcowswe | 20:70d651156779 | 4 | |
madcowswe | 20:70d651156779 | 5 | #ifdef ENABLE_GLOBAL_ENCODERS |
madcowswe | 20:70d651156779 | 6 | Encoder right_encoder(P_ENC_RIGHT_A, P_ENC_RIGHT_B); |
madcowswe | 20:70d651156779 | 7 | Encoder left_encoder(P_ENC_LEFT_A, P_ENC_LEFT_B); |
madcowswe | 20:70d651156779 | 8 | #endif |