I have used HC12 and want to calculate Gps co ordinates and have used neo 6m chip but i am geeting this error .please have alook and tell me the possible solution ....and i have also used
float lat=0.00
float lon=0.000
float age=0.000
didnt work now using
unsigned int
also didnt waork
i have added the tiny gps liberary too
error: no matching function for call to 'TinyGPS::f_get_position(unsigned int*, unsigned int*, unsigned int*)'
gps.f_get_position(&lat, &lon, &age);
^
void f_get_position(float *latitude, float *longitude, unsigned long *fix_age = 0);
^~~~~~~~~~~~~~
\libraries\TinyGPS-master/TinyGPS.h:82:8: note: no known conversion for argument 1 from 'unsigned int*' to 'float*'
exit status 1
no matching function for call to 'TinyGPS::f_get_position(unsigned int*, unsigned int*, unsigned int*)'