LatLong to XY

I have been using the UTM code from WHOI on an Uno to convert GPS latitude/longitude to UTM easting/northing. On an Uno, double and float are the same, so the easting and northing values are slightly different from the website. On a Due, double is 64 bits and the Arduino and website values are the same. latlon2xy is the doc with the Arduino code. Since I last looked at GPS, Mikal Hart has an updated GPS library that computes distanceBetween() and courseTo(). It might be worth pursuing.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s