This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Encoder.cpp Source File

Encoder.cpp

00001 
00002 #include "globals.h"
00003 #include "Encoder.h"
00004 
00005 #ifdef ENABLE_GLOBAL_ENCODERS
00006     Encoder right_encoder(P_ENC_RIGHT_A, P_ENC_RIGHT_B);
00007     Encoder left_encoder(P_ENC_LEFT_A, P_ENC_LEFT_B);
00008 #endif