Getter to get other PMS sensor data

This commit is contained in:
samuelbles07 committed 2024-10-22 15:28:58 +07:00
1 parent eb76eff403
commit fd1f35f6d8
5 files changed
+115 -13

No files matched your search

+10
View File
@@ -25,10 +25,20 @@ public:
void resetFailCount(void);
int getFailCount(void);
int getFailCountMax(void);
// Atmospheric environment
int getPm01Ae(void);
int getPm25Ae(void);
int getPm10Ae(void);
// Standard particle
int getPm01Sp(void);
int getPm25Sp(void);
int getPm10Sp(void);
// Particle count
int getPm03ParticleCount(void);
int getPm01ParticleCount(void);
int getPm25ParticleCount(void);
int getPm10ParticleCount(void);
int convertPm25ToUsAqi(int pm25);
float compensate(float pm25, float humidity);
int getFirmwareVersion(void);