Loom 4 v4.5
Arduino library for Internet of Things Rapid Prototyping in environmental sensing
|
#include <Loom_SHT31.h>
Public Member Functions | |
Loom_SHT31 (Manager &man, int address=0x44, bool useMux=false) | |
float | getHumidity () |
float | getTemperature () |
![]() | |
I2CDevice (const char *modName) | |
bool | checkDeviceConnection () |
![]() | |
Module (const char *modName) | |
void | setModuleName (const char *modName) |
virtual const char * | getModuleName () |
virtual void | printModuleName (const char *message) |
virtual void | initialize ()=0 |
virtual void | measure ()=0 |
virtual void | package ()=0 |
virtual void | power_up ()=0 |
virtual void | power_down ()=0 |
virtual void | display_data () |
Protected Member Functions | |
void | measure () override |
void | initialize () override |
void | power_up () override |
void | power_down () override |
void | package () override |
Additional Inherited Members | |
![]() | |
bool | needsReinit = false |
![]() | |
bool | moduleInitialized = true |
int | module_address = -1 |
SHT31 Temperature and Humidity Sensor
Loom_SHT31::Loom_SHT31 | ( | Manager & | man, |
int | address = 0x44 , |
||
bool | useMux = false |
||
) |
Constructs a new TSL2591 sensor
man | Reference to the manager that is used to universally package all data |
address | I2C address that is assigned to the sensor |
|
inline |
Get the humidity reading
|
inline |
Get the temperature reading
|
overrideprotectedvirtual |
Implements Module.
|
overrideprotectedvirtual |
Implements Module.
|
overrideprotectedvirtual |
Implements Module.
|
inlineoverrideprotectedvirtual |
Implements Module.
|
inlineoverrideprotectedvirtual |
Implements Module.