<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[barometer in ENV III Temp&#x2F;Humid&#x2F;Baro sensor QMP6988 for calculation of altitude]]></title><description><![CDATA[<p dir="auto">Hi All</p>
<p dir="auto">In the ENVIII unit temp/humidity/baro sensor, the barometric sensor is the QMP6988, and this can also be used to calculate altitude.  In the QMP6988.h file line 138, there is a line for this:</p>
<pre><code>float calcAltitude(float pressure, float temp);
</code></pre>
<p dir="auto">... meaning you can call that method (calcAltitude) from the class in your .ino file.</p>
<p dir="auto">Does anyone know which are the correct units (<em>degC or degF</em>) required for the float temp entry please?  And also what units are returned for the calcAltitude (feet, meters etc)?</p>
<p dir="auto">Many thanks.</p>
]]></description><link>https://community.m5stack.com/topic/5174/barometer-in-env-iii-temp-humid-baro-sensor-qmp6988-for-calculation-of-altitude</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:22:11 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5174.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Mar 2023 07:51:35 GMT</pubDate><ttl>60</ttl></channel></rss>