
2221
Fork of AVC_gps22 by
Diff: main.cpp
- Revision:
- 1:2c7ebb32acda
- Parent:
- 0:59cfe30c337c
- Child:
- 2:fb8c2df6e7e8
--- a/main.cpp Thu Oct 09 17:11:51 2014 +0000 +++ b/main.cpp Thu Oct 09 17:25:30 2014 +0000 @@ -4,6 +4,8 @@ Serial gps(PTC17, PTC16); Serial pc(USBTX, USBRX); + +int v = 0; int main(){ gps.baud(4800); while (true) { @@ -12,6 +14,7 @@ if (gps.readable()){ c = gps.getc(); if (c == '$') { + c = v; gps.scanf ("%199s",str); pc.printf("%s \n",str); //while (n >=