Chris Pepper
/
KMLParser_Test
Test Program for KMLParser lib
main.cpp
- Committer:
- p3p
- Date:
- 2012-07-21
- Revision:
- 1:42b9ab247a97
- Parent:
- 0:94bd20b96349
File content as of revision 1:42b9ab247a97:
#include "mbed.h" #include "KMLParser.h" Serial debug(USBTX, USBRX); LocalFileSystem local("local"); int main() { debug.baud(115200); FILE *fp = fopen("/local/waypoint.kml", "r"); KMLParser parse(fp); if(parse._tree){ parse._tree->debug_printf(); } fclose(fp); debug.printf("FINISH!\r\n"); }