forked from airgradienthq/arduino
Optimize PMS sensor read data on active mode send each second
This commit is contained in:
1 parent
9ec74450a5
commit
21232ec49d
7 files changed
+171
-164
No files matched your search
+1
-1
@@ -18,7 +18,6 @@ public:
|
||||
#endif
|
||||
void end(void);
|
||||
void handle(void);
|
||||
bool isFailed(void);
|
||||
void updateFailCount(void);
|
||||
void resetFailCount(void);
|
||||
int getFailCount(void);
|
||||
@@ -31,6 +30,7 @@ public:
|
||||
int compensate(int pm25, float humidity);
|
||||
int getFirmwareVersion(void);
|
||||
uint8_t getErrorCode(void);
|
||||
bool connected(void);
|
||||
|
||||
private:
|
||||
bool _isBegin = false;
|
||||
|
||||
Reference in new issue
Block a user