Skip to content

Commit

Permalink
Merge pull request #139 from OPEnSLab-OSU/SDS011-Getter-Function
Browse files Browse the repository at this point in the history
SDS011 - Getter function
  • Loading branch information
WL-Richards authored Mar 5, 2024
2 parents 599424d + 332e301 commit 7e51dbf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Sensors/Serial/Loom_NOVASDS/Loom_NOVASDS.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ class Loom_NOVASDS011: public Module{

Loom_NOVASDS011(Manager& man, HardwareSerial* serial = &Serial1);

/**
* Get PM 2.5 value
*/

float getPM25() {return pm25; };

/**
* Get PM 10 value
*/
float getPM10() { return pm10; };

private:
Manager* manInst; // Instance of the Manager
SDS011 nova; // Instance of the library
Expand Down

0 comments on commit 7e51dbf

Please sign in to comment.