Skip to content

Commit

Permalink
fix comment for unit, 10ppm not 100ppm
Browse files Browse the repository at this point in the history
  • Loading branch information
brentru committed Mar 3, 2023
1 parent 6bc09d6 commit 38a49c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Adafruit_Sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void Adafruit_Sensor::printSensorDetails(void) {
Serial.print(F("Standard Particulate Matter 2.5 (ppm)"));
break;
case SENSOR_TYPE_PM100_STD:
Serial.print(F("Standard Particulate Matter 100 (ppm)"));
Serial.print(F("Standard Particulate Matter 10.0 (ppm)"));
break;
case SENSOR_TYPE_PM10_ENV:
Serial.print(F("Environmental Particulate Matter 1.0 (ppm)"));
Expand All @@ -92,7 +92,7 @@ void Adafruit_Sensor::printSensorDetails(void) {
Serial.print(F("Environmental Particulate Matter 2.5 (ppm)"));
break;
case SENSOR_TYPE_PM100_ENV:
Serial.print(F("Environmental Particulate Matter 100 (ppm)"));
Serial.print(F("Environmental Particulate Matter 10.0 (ppm)"));
break;
case SENSOR_TYPE_GAS_RESISTANCE:
Serial.print(F("Gas Resistance (ohms)"));
Expand Down
14 changes: 7 additions & 7 deletions Adafruit_Sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@ typedef struct {
float CO2; /**< Measured CO2 in parts per million (ppm) */
float eCO2; /**< equivalent/estimated CO2 in parts per million (ppm
estimated from some other measurement) */
float pm10_std; /**< Standard Particulate Matter 1.0 in parts per million
float pm10_std; /**< Standard Particulate Matter <=1.0 in parts per million
(ppm) */
float pm25_std; /**< Standard Particulate Matter 2.5 in parts per million
float pm25_std; /**< Standard Particulate Matter <=2.5 in parts per million
(ppm) */
float pm100_std; /**< Standard Particulate Matter 100 in parts per million
(ppm) */
float pm10_env; /**< Environmental Particulate Matter 1.0 in parts per
float pm100_std; /**< Standard Particulate Matter <=10.0 in parts per
million (ppm) */
float pm10_env; /**< Environmental Particulate Matter <=1.0 in parts per
million (ppm) */
float pm25_env; /**< Environmental Particulate Matter 2.5 in parts per
float pm25_env; /**< Environmental Particulate Matter <=2.5 in parts per
million (ppm) */
float pm100_env; /**< Environmental Particulate Matter 100 in parts per
float pm100_env; /**< Environmental Particulate Matter <=10.0 in parts per
million (ppm) */
float gas_resistance; /**< Proportional to the amount of VOC particles in
the air (Ohms) */
Expand Down

0 comments on commit 38a49c3

Please sign in to comment.