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

motors.h

Committer:
DavidEGrayson
Date:
14 months ago
Revision:
48:597738b77f77
Parent:
32:83a13b06093c

File content as of revision 48:597738b77f77:

#pragma once

void motorsInit();
void motorsSpeedSet(int16_t motorLeftSpeed, int16_t motorRightSpeed);

extern int16_t motorLeftSpeed, motorRightSpeed;