Adds NOx and VOC index to sensor types

What is sensirion's NOx index?
https://sensirion.com/media/documents/9F289B95/6294DFFC/Info_Note_NOx_Index.pdf

Resolve https://github.com/adafruit/Wippersnapper_Components/issues/103
This commit is contained in:
tyeth committed 2022-12-15 21:56:46 +00:00
1 parent 334044cc0b
commit 7d15c6fd8f
4 files changed
+23 -3

No files matched your search

+6
View File
@@ -64,6 +64,12 @@ void Adafruit_Sensor::printSensorDetails(void) {
case SENSOR_TYPE_TVOC:
Serial.print(F("Total Volatile Organic Compounds (ppb)"));
break;
case SENSOR_TYPE_VOC_INDEX:
Serial.print(F("Volatile Organic Compounds (Index)"));
break;
case SENSOR_TYPE_NOX_INDEX:
Serial.print(F("Nitrogen Oxides (Index)"));
break;
}
Serial.println();