The code has the checksum calculation in it....but I have cracked it!
For some reason I don't understand ....not unusual tho......if the Array is constructed the other way around..
WPT_array[44]=Dec_off Dig 1+"0"
WPT_array[45]=Dec_off Dig 0+"0"
WPT_array[46]="."
WPT_array[47]=Dec_off Dig 0+"0"
WPT_array[48]=","
[B]WPT_array[49]= "0" + heading dig 2
WPT_array[50]= "0" + heading dig 1 'Course Dig 2+"0"
WPT_array[51]= "0" + heading dig 0
so the "0" is in front of the variable it works......then you just add a bit of code to fill the array with the heading and hey presto! It has taken a lot of head banging and scratching.




Bookmarks