Quote Originally Posted by Seahound1 View Post
There is very little in terms of documentation (remzibi 3DR)....but there is a GPS simulator (happykillmore.com) incorporated into the config software which generates standard NMEA GPS sentences, for example

$GPGGA,000000,4124.8963,N,08151.6838,W,1,05,1.5,28 0.2,M,-34.0,M,,,*59
$GPRMC,000000,A,4916.45,N,12311.12,W,000.5,253.7,191194,020.3,E*68
Looking it over quickly, this is the value you are looking for, and likely what the remzibi 3DR calls "heading". (It would actually be true course if provided by a GPS). The important issue is the format. It looks like a string 5 characters long is required.

So let's say you have a WORD variable MyHeading that contains a value between 0-359. To output this as it appears in the NMEA sentence use:
SEROUT bob, baud, [DEC3 MyHeading , ".0"]

You can see I added the decimal point and zero to fill out the five characters.

HTH