forked from airgradienthq/arduino
Add report PMS5003 and PMS5003T firmware version
This commit is contained in:
@@ -171,6 +171,13 @@ float PMS5003T::getRelativeHumidity(void) {
|
||||
*/
|
||||
int PMS5003T::getFirmwareVersion(void) { return _ver; }
|
||||
|
||||
/**
|
||||
* @brief Get sensor error code
|
||||
*
|
||||
* @return uint8_t
|
||||
*/
|
||||
uint8_t PMS5003T::getErrorCode(void) { return pms.getErrorCode(); }
|
||||
|
||||
/**
|
||||
* @brief Check device initialized or not
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user