Révision 319
Ajouté par Mourougen MARIMOUTOU-POUGARY il y a plus de 3 ans
| main.c | ||
|---|---|---|
|
{
|
||
|
Pos.Latitude=decode_latitude(trame);
|
||
|
Pos.Longitude=decode_longitude(trame);
|
||
|
|
||
|
return Pos.Latitude,Pos.Longitude;
|
||
|
}
|
||
|
//
|
||
|
|
||
| ... | ... | |
|
printf("%f\n",decode_latitude("$GPGGA,141914.00,4545.0000,N,00306.6036,E,1,05,3.4,499.3,M,,M,,*7D"));
|
||
|
printf("%f\n",decode_longitude("$GPGGA,141914.00,4545.0000,N,00306.6036,E,1,05,3.4,499.3,M,,M,,*7D"));*/
|
||
|
Position pos;
|
||
|
printf("%f\n",decode_position("$GPGGA,141914.00,4545.0000,N,00306.6036,E,1,05,3.4,499.3,M,,M,,*7D",pos));
|
||
|
printf("%f%f\n",decode_position("$GPGGA,141914.00,4545.0000,N,00306.6036,E,1,05,3.4,499.3,M,,M,,*7D",pos));
|
||
|
|
||
|
}
|
||
|
|
||
Formats disponibles : Unified diff
Modification fonction decode_position