I now have everything working and calculating air speed
I used "DEC1" to only print out to one decimal point.
Running the program gave some strange results. On occasion the count would increase, but the Knots value woud reduce.
By printing out all of the remainder, I could see what was going on.
eg for 2577 counts, the value would be 110.7 and for 2579 counts the value would be 110.1. The problem being in the true value
2577 counts is 110.457 and 110.501. The "DEC1" would give the digit either the 1 or 7 and not the 4 or the 5 as I expected (read hoped)
How can I get the first digit?
thanks
aajgss
Bookmarks