Chris Pepper
/
KMLParser_Test
Test Program for KMLParser lib
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #include "mbed.h" 00002 #include "KMLParser.h" 00003 00004 Serial debug(USBTX, USBRX); 00005 00006 LocalFileSystem local("local"); 00007 00008 int main() { 00009 debug.baud(115200); 00010 00011 00012 FILE *fp = fopen("/local/waypoint.kml", "r"); 00013 KMLParser parse(fp); 00014 if(parse._tree){ 00015 parse._tree->debug_printf(); 00016 } 00017 fclose(fp); 00018 debug.printf("FINISH!\r\n"); 00019 }
Generated on Mon Jul 18 2022 04:20:05 by 1.7.2