Projet

Général

Profil

« Précédent | Suivant » 

Révision 319

Modification fonction decode_position

Voir les différences:

branch/MARIMOUTOU_Mourougen/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