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

Revision:
40:6fa672be85ec
Child:
42:96671b71aac5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/l3g.h	Thu Jul 25 02:53:34 2019 +0000
@@ -0,0 +1,8 @@
+#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();
\ No newline at end of file