Altitude Command Neo-6M GPS

Hi all,

I am using a Neo-6M GPS with the tinygps library.

I can read the Latitude and Longitude fine but am wondering what is the command to get the altitude?

Thanks,

Zeb

......Would this work?

      Serial.println(gps.altitude.meters());

Thanks,

Zeb

The beauty of Arduino is that you can try things right away, and not have to post on the forum and wait for an answer.

We can't tell you the exact nature of the command, because it depends on how you have instanced the library. And you forgot to post your code.

For TinyGPS and most other popular libraries, the most reliable resource is the documentation and library source code.

Hi jremington,

Sorry I didn't post the code! The reason I can't try it right away is because I don't have the circuit made up yet!

I have came across this though:

And that has told me what I need to know!

Thanks for your help!

Zeb

Without "the circuit", how did you manage to do this? Connections are the same.

I can read the Latitude and Longitude fine

Hi jremington,

That's because in another project I had read the Latitude and Longitude successfully using a Neo-6M GPS and the tinygps++ library!

Thanks for all your help!

Thanks again,

Zeb