main.cpp
19 lines
| 318 B
| text/x-c
|
CppLexer
|
r117 | #include <cstdio> | ||
#include "nmea_code.h" | ||||
#include "gnss_info.h" | ||||
#include "parse/code_parser.h" | ||||
int main(){ | ||||
nmea_code a; | ||||
gnss_info b; | ||||
code_parser p; | ||||
a.set_string("$GpgLL,rewwe,456,789,0"); | ||||
p.parse_nmea(&a,&b); | ||||
printf("ffrtrt %s %s %s",a.get_parameter(0),a.get_parameter(1),a.get_parameter(2)); | ||||
return 0; | ||||
} | ||||