David's dead reckoning code for the LVBots competition on March 6th. Uses the mbed LPC1768, DRV8835, QTR-3RC, and two DC motors with encoders.
Dependencies: PololuEncoder Pacer mbed GeneralDebouncer
encoders.h
- Committer:
- DavidEGrayson
- Date:
- 2014-02-28
- Revision:
- 22:44c032e59ff5
- Parent:
- 12:835a4d24ae3b
File content as of revision 22:44c032e59ff5:
#pragma once #include <PololuEncoder.h> #define ENCODER_LEFT 0x00 #define ENCODER_RIGHT 0x01 extern PololuEncoderBuffer encoderBuffer; extern PololuEncoder encoderLeft, encoderRight; void encodersInit();