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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers motors.h Source File

motors.h

00001 #pragma once
00002 
00003 void motorsInit();
00004 void motorsSpeedSet(int16_t motorLeftSpeed, int16_t motorRightSpeed);
00005 
00006 extern int16_t motorLeftSpeed, motorRightSpeed;