Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
Diff: SDFileSystem/FATFileSystem/Interface/FATDirHandle.h
- Revision:
- 0:826c6171fc1b
diff -r 000000000000 -r 826c6171fc1b SDFileSystem/FATFileSystem/Interface/FATDirHandle.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SDFileSystem/FATFileSystem/Interface/FATDirHandle.h Wed Jun 20 14:57:48 2012 +0000 @@ -0,0 +1,30 @@ +/* mbed Microcontroller Library - FATDirHandle + Copyright (c) 2008, sford */ + +//Modified by Thomas Hamilton, Copyright 2010 + +#ifndef MBED_FATDIRHANDLE_H +#define MBED_FATDIRHANDLE_H + +#include "stdint.h" +#include "ff.h" +#include "mbed.h" +#include "DirHandle.h" +#include <stdio.h> + +class FATDirHandle : public DirHandle +{ + private: + FAT_DIR DirectoryObject; + struct dirent CurrentEntry; + + public: + FATDirHandle(FAT_DIR InputDirStr); + virtual int closedir(); + virtual struct dirent* readdir(); + virtual void rewinddir(); + virtual off_t telldir(); + virtual void seekdir(off_t location); +}; + +#endif \ No newline at end of file