software:firmware
MakAir Firmware
|
Pressure computing utility function. More...
#include <stdint.h>
Go to the source code of this file.
Functions | |
int16_t | convertSensor2Pressure (uint32_t sensorValue) |
Convert the analog value from sensor to a pressure value. More... | |
void | resetFilteredRawPressure () |
Reset the value of void filteredRawPressure to 0. More... | |
Pressure computing utility function.
Definition in file pressure_utl.h.
int16_t convertSensor2Pressure | ( | uint32_t | sensorValue | ) |
Convert the analog value from sensor to a pressure value.
sensorValue | Value read from the analog input connected to the sensor |
Definition at line 51 of file pressure_utl.cpp.
void resetFilteredRawPressure | ( | ) |
Reset the value of void filteredRawPressure to 0.
Definition at line 68 of file pressure_utl.cpp.