David's line following code from the LVBots competition, 2015.

Dependencies:   GeneralDebouncer Pacer PololuEncoder mbed

Fork of DeadReckoning by David Grayson

Revision:
52:05a8e919ddb0
Parent:
48:c84b7b3ab0e8
--- a/logger.h	Wed Apr 15 23:01:39 2015 +0000
+++ b/logger.h	Wed Apr 15 23:56:52 2015 +0000
@@ -18,10 +18,11 @@
     void log(struct LogEntry *);
     void dump();
     bool isFull();
+    int32_t getSize() { return entryIndex; }
     
     LogEntry entries[LOGGER_SIZE];
     
     // The index of the next entry to write to.
-    int32_t entryIndex;
+    uint32_t entryIndex;
 };