hello
with this code i want to convert my degree , decimal minutes coordinates to degree coordinates.
my problem however is that i don't really understand how to get several numbers from an array in one single numer( like pos 0,1,2 of anarray[] to one single number in int number)
the array contains 5417.7540 on [2]
and contains 00735.9808 on [4] ( coordinates modified from my real location)
it is a 3d array of [15][11]
int latD;
int lonD;
double latX;
double lonX;
double latXX;
double lonXX;
double lat;
double lon;
latD = (GPS.arguments[2][0,1]);
lonD = (GPS.arguments[4][2]);
latX = (double)GPS.arguments[2][2, 3, 5, 6, 7, 8];
lonX = (double)GPS.arguments[4][3, 4, 6, 7, 8, 9];
latXX = (latX / 60);
lonXX = (lonX / 60);
lat = (latD + latXX);
lon = (lonD + lonXX);
Serial.println("next are the latD-lonD-latX-lonX-latXX-lonXX");
Serial.println(latD);
Serial.println(lonD);
Serial.println(latX);
Serial.println(lonX);
Serial.println(latXX);
Serial.println(lonXX);
this is a part of the big code but this converts my coordinates. though it does not work :-[
thank you
regards diamantmatch