pressure mBar - part-cw/lambdanative GitHub Wiki

(pressure-mBar)

Return ambient pressure in mBar, or 0 if not supported on current platform.

Example

Example 1: Log current ambient pressure in all three units

(log-status "P [mBar]:" (float->choppedstring (pressure-mBar) 4) " P [mmHg]:" (float->choppedstring (pressure-mmHg) 4) 
            " P [kPa]:" (float->choppedstring (pressure-kPa) 4))