mikalhart / TinyGPSPlus

A new, customizable Arduino NMEA parsing library
http://arduiniana.org
1.1k stars 494 forks source link

cardinal course calculation in FullExample.ino sketch #9

Closed jurs closed 7 years ago

jurs commented 9 years ago

Instead of reading the gps.course.value() in the code of FullExample.ino: printStr(gps.course.isValid() ? TinyGPSPlus::cardinal(gps.course.value()) : "* ", 6); the course parameter must be given in degrees to get correct results: printStr(gps.course.isValid() ? TinyGPSPlus::cardinal(gps.course.deg()) : "* ", 6);

mikalhart commented 7 years ago

Fixed in 1.0.0

mikalhart commented 7 years ago

Thanks @nolanholden.