mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-20 20:22:08 +02:00
Merge branch 'develop' into feature/send-pms-sensor-fw-version-to-ag-cloud
This commit is contained in:
@ -164,6 +164,17 @@ float PMS5003T::getRelativeHumidity(void) {
|
||||
return pms.getHum() / 10.0f;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Correct PM2.5
|
||||
*
|
||||
* @param pm25 PM2.5 raw value
|
||||
* @param humidity Humidity value
|
||||
* @return float
|
||||
*/
|
||||
float PMS5003T::compensated(int pm25, float humidity) {
|
||||
return pms.compensated(pm25, humidity);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get module(s) firmware version
|
||||
*
|
||||
|
Reference in New Issue
Block a user