pressure kPa - part-cw/lambdanative GitHub Wiki

(pressure-kPa)

Return ambient pressure in kPa, 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))