Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
Diff: logging/logging.h
- Revision:
- 0:826c6171fc1b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/logging/logging.h Wed Jun 20 14:57:48 2012 +0000 @@ -0,0 +1,15 @@ +#ifndef __LOGGING_H +#define __LOGGING_H + +/** Data logging functions */ + +#include "mbed.h" +#include "SystemState.h" + +FILE *openlog(char *prefix); +bool initLogfile(void); +void clearState( SystemState *s ); +void logData( SystemState s ); +void closeLogfile(void); + +#endif \ No newline at end of file