Skip to content

Commit

Permalink
add link to formula document
Browse files Browse the repository at this point in the history
  • Loading branch information
pnt325 committed Aug 30, 2024
1 parent 753f229 commit 2e9ff0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PMS/PMS5003.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ int PMS5003::convertPm25ToUsAqi(int pm25) { return pms.pm25ToAQI(pm25); }
/**
* @brief Correct PM2.5
*
* Reference formula: https://www.airgradient.com/documentation/correction-algorithms/
*
* @param pm25 PM2.5 raw value
* @param humidity Humidity value
* @return int
Expand Down
2 changes: 2 additions & 0 deletions src/PMS/PMS5003T.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ float PMS5003T::getRelativeHumidity(void) {
/**
* @brief Correct PM2.5
*
* Reference formula: https://www.airgradient.com/documentation/correction-algorithms/
*
* @param pm25 PM2.5 raw value
* @param humidity Humidity value
* @return int
Expand Down

0 comments on commit 2e9ff0d

Please sign in to comment.