Shop OBEX P1 Docs P2 Docs Learn Events
GPS_Parallax Error — Parallax Forums

GPS_Parallax Error

AnilRAnilR Posts: 1
edited 2009-08-18 11:08 in General Discussion

I·noticed· a bug in the JAVA code that implements the GPS_Parallax class. In the code to transpose the FracMin, the order of the buffer swaps is reversed in GetLat() and GetLong().· Will save someone else the debugging effort.

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2009-08-18 11:08
    Thanks for spotting that error.
    I should have read the manual better, as the basic stamp demo program says

    SERIN Sio, Baud, 3000, No_Response, [noparse][[/noparse]degrees, minutes, minutesD.HIGHBYTE, minutesD.LOWBYTE, dir]

    highbyte first.

    Attached is the corrected version.
    I also uploaded it to the Yahoo group.


    regards peter

    Post Edited (Peter Verkaik) : 8/18/2009 11:20:32 AM GMT
Sign In or Register to comment.