![](/media/cache/profiles/2012_sf_avc_095.jpg.50x50_q85.jpg)
Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.
Dependencies: mbed Watchdog SDFileSystem DigoleSerialDisp
Diff: logging/logging.h
- Revision:
- 15:01fb4916a5cd
- Parent:
- 0:a6a169de725f
--- a/logging/logging.h Thu Nov 29 16:59:39 2018 +0000 +++ b/logging/logging.h Thu Nov 29 17:11:34 2018 +0000 @@ -6,10 +6,11 @@ #include "mbed.h" #include "SystemState.h" -FILE *openlog(char *prefix); +#define LOGDIR "/log" + +FILE *openlog(const char *prefix); bool initLogfile(void); -void clearState( SystemState *s ); -void logData( SystemState s ); +void logData( SystemState *s ); void closeLogfile(void); -#endif \ No newline at end of file +#endif