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
l3g.h
- Committer:
- DavidEGrayson
- Date:
- 2019-07-25
- Revision:
- 40:6fa672be85ec
- Child:
- 42:96671b71aac5
File content as of revision 40:6fa672be85ec:
#pragma once // Returns 0 for success, non-zero for error. int32_t l3gInit(); int32_t l3gReadReg(char reg); int32_t l3gWriteReg(char reg, char value); int32_t l3gZRead(); int32_t l3gZAvailable();