David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
Diff: l3g.h
- Revision:
- 44:edcacba44760
diff -r 6cb32548c1b4 -r edcacba44760 l3g.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/l3g.h Wed Apr 15 19:14:39 2015 +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