You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SD_ZH03B.cpp
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,10 @@ The range of measured PM1.0, PM2.5 and PM10 values are all 0-1000ug/m3.
19
19
20
20
- **SD_ZH03B( Stream& serial )** - Class Constructor
21
21
- **bool readData(void)** - read data from the module; returns **true** if data are read, verified and valid (validate by calculating checkSum of the data received).
22
-
- **void setInitiativeMode(void)** - sets the "Initiative Upload" (IU) operstion mode. The module launches in that mode by default and shoot data to the COM port every second. So, no need to set up the mode after the module initialization.
23
-
- **void setQandAmode(void)** - sets the Q&A opertion mode; Module sends the data on demand.
22
+
- **void setInitiativeMode(void)** - sets the "Initiative Upload" (IU) operation mode. The module launches in that mode by default and shoot data to the COM port every second. So, no need to set up the mode after the module initialization.
23
+
- **void setQandAmode(void)** - sets the Q&A operation mode; Module sends the data on demand.
24
24
- **void setMode( const mode_t mode = IU_MODE )** - same as above two methods, can be used interchangable: sets the operation mode by using pre-defined constants IU_MODE and QA_MODE. Can be used interchangibly.
25
-
- **mode_t getMode()** - returns current mode.
25
+
- **mode_t getMode(void)** - returns current mode.
26
26
- **bool sleep(void)** - put the module into a "Dormaint" mode. Dormancy consumption current <20mA. Returns **true** if command is confirmed by the module as successful.
27
27
- **bool wakeup(void)** - wake up from a "Dormaint" mode. Working Current <120mA. Returns **true** if command is confirmed by the module as successful.
28
28
- **uint16_t getPM1_0(void)** - returns a value of PM1.0 particles concentration in ug/m3
Copy file name to clipboardExpand all lines: SD_ZH03B.h
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,10 @@ The range of measured PM1.0, PM2.5 and PM10 values are all 0-1000ug/m3.
19
19
20
20
- **SD_ZH03B( Stream& serial )** - Class Constructor
21
21
- **bool readData(void)** - read data from the module; returns **true** if data are read, verified and valid (validate by calculating checkSum of the data received).
22
-
- **void setInitiativeMode(void)** - sets the "Initiative Upload" (IU) operstion mode. The module launches in that mode by default and shoot data to the COM port every second. So, no need to set up the mode after the module initialization.
23
-
- **void setQandAmode(void)** - sets the Q&A opertion mode; Module sends the data on demand.
22
+
- **void setInitiativeMode(void)** - sets the "Initiative Upload" (IU) operation mode. The module launches in that mode by default and shoot data to the COM port every second. So, no need to set up the mode after the module initialization.
23
+
- **void setQandAmode(void)** - sets the Q&A operation mode; Module sends the data on demand.
24
24
- **void setMode( const mode_t mode = IU_MODE )** - same as above two methods, can be used interchangable: sets the operation mode by using pre-defined constants IU_MODE and QA_MODE. Can be used interchangibly.
25
-
- **mode_t getMode()** - returns current mode.
25
+
- **mode_t getMode(void)** - returns current mode.
26
26
- **bool sleep(void)** - put the module into a "Dormaint" mode. Dormancy consumption current <20mA. Returns **true** if command is confirmed by the module as successful.
27
27
- **bool wakeup(void)** - wake up from a "Dormaint" mode. Working Current <120mA. Returns **true** if command is confirmed by the module as successful.
28
28
- **uint16_t getPM1_0(void)** - returns a value of PM1.0 particles concentration in ug/m3
@@ -115,25 +115,25 @@ enum mode_t : uint8_t {
115
115
* @brief Returns the latest PM 1.0 reading
116
116
* @note in IU_Mode Sensor reports new reading ~ every 1 sec.
0 commit comments