Boris,
I have a question about the version 1.3 firmware.
In the code, if the user chooses to have altitude reported in feet, the beepAltitude fuctions basically take the altitude measurements and multiply by 3.28084 (the number of feet in a meter.) Doesn't this result in the altitude resolution still being in meters, just being reported in the nearest equivalent foot?
by this method I'd expect to see something like this:
100 m = 328 f (rouding down)
1000 m = 3281 f (rounding up)
1001 m = 3284 f (rounding down)
what happens if my altitude was actually closert 3282 feet?
continuing this line of thought, what if I were trying to hit 1 mile exactly? (I know this was a goal for the US SLI teams this past year)
1 mile = 5280 feet = 1609.34 meters
1609m = 5278.87f
1610m = 5282.15f
Of course everything I've been able to find for the adafruit bmp085 library pretty much handles it the same way. The library uses meters in the readAltitude() function, and if one wants feet, one multiplies the return value by 3.28084 (I saw some code that just used a factor of 3.28)
I haven't found a good source for figuring out the equation needed to convert the pressure in Pa to feet directly, at least not one that I can understand. (I'm guessing that the library's readPressure() function could be employed here.)
Maybe I'm just over-thinking this, and I should just go away and learn to love the metric system.