Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ReferredCoursework2016 by
HumiditySensor Class Reference
An abstract class for Humidity sensors. More...
#include <HumiditySensor.h>
Inherits GenericSensor.
Inherited by HTS221.
Public Member Functions | |
virtual int | GetHumidity (float *pfData)=0 |
Get current humidity [%]. | |
virtual int | Init (void *ptr)=0 |
Initialization of sensor. | |
virtual int | ReadID (uint8_t *id)=0 |
Get ID of sensor. |
Detailed Description
An abstract class for Humidity sensors.
Definition at line 49 of file HumiditySensor.h.
Member Function Documentation
virtual int GetHumidity | ( | float * | pfData ) | [pure virtual] |
Get current humidity [%].
- Parameters:
-
[out] pfData Pointer to where to store humidity to
- Returns:
- 0 in case of success, an error code otherwise
Implemented in HTS221.
virtual int Init | ( | void * | ptr ) | [pure virtual, inherited] |
Generated on Sat Jul 16 2022 05:47:22 by
