50 static bool initialized = 0;
Reads counts from the encoders on the 3pi+ 32U4.
static void flipEncoders(bool flip)
Flips the direction of the encoders.
static bool checkErrorRight()
Returns true if an error was detected on the right-side encoder.
static int16_t getCountsRight()
Returns the number of counts that have been detected from the right-side encoder.
static bool checkErrorLeft()
Returns true if an error was detected on the left-side encoder.
static int16_t getCountsAndResetRight()
Returns the number of counts that have been detected from the left-side encoder and clears the counts...
static int16_t getCountsAndResetLeft()
Returns the number of counts that have been detected from the left-side encoder and clears the counts...
static int16_t getCountsLeft()
Returns the number of counts that have been detected from the left-side encoder.
static void init()
Initializes the encoders (called automatically).
Top-level namespace for the Pololu3piPlus32U4 library.