EspoirBondo:
Need Help
Creating a C program that can pick words in a string or array and save it in different location, later combine everything in one string or array.
It will be using simple programming C code. For example (arrays, pointer) but not interrupts or other string functions.
Hint:
In a sentence like this:
Size= 70
$--GSV,x,x,x,x,x,x,x,...*hh
$--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,b,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh
$--GLC,xxxx,x.x,a,x.x,a,x.x,a.x,x,a,x.x,a,x.x,a*hh
$--GSA,a,a,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x.x,x.x,x.x*hh
The program must capture the $--GGA string then extract from this string:
1) hhmmss.ss
2) IIII.II
3) a (if a = to N or S replace N or S with + or - respectively )
4) yyyyy.yy
5) b (if b = to E or W replace E or W with + or - respectively )
Save them in an array and display as well.
After all the saving, the program should combine them to one string.
That the final output.