meters = 44330.769 * (1 - (Millibars / 1013.25) ^ 0.190262525939031)
This converts millibars in pressure to meters given a simple atmosphere. Since the PIC does not have FP, and this point REALLY floats, how can a PIC do this?
Or can it at all? If we were just dealing with .xxx, then you could x1000, but we are dealing with .xxxxxxxxxxxxx!! Do we just multiply by 100000000000 I don't think so.
The accuracy to 15 decimal places is needed because of the very small pressure movements inpact on estimated altitude.
Hmmm...
Bookmarks