代码打印到串行监视器,没问题,但不会打印到LCD给出错误,没有匹配函数调用UTFT :: print(double,int,int)。请帮忙,但请耐心等待,因为我是新来的,谢谢
if (gps.location.isUpdated())
{
Serial.print(F("LOCATION Fix Age="));
Serial.print(gps.location.age());
Serial.print(F("ms Raw Lat="));
Serial.print(gps.location.rawLat().negative ? "-" : "+");
Serial.print(gps.location.rawLat().deg);
Serial.print("[+");
Serial.print(gps.location.rawLat().billionths);
Serial.print(F(" billionths], Raw Long="));
Serial.print(gps.location.rawLng().negative ? "-" : "+");
Serial.print(gps.location.rawLng().deg);
Serial.print("[+");
Serial.print(gps.location.rawLng().billionths);
Serial.print(F(" billionths], Lat="));
Serial.print(gps.location.lat(), 6);
myGLCD.print(gps.location.lat(), 240, 155);
Serial.print(F(" Long="));
Serial.println(gps.location.lng(), 6);
}