 |
LightHub
v4.0.0
Smarthome controller firmware
|
Go to the documentation of this file.
7 #include "ClosedCube_HDC1080.h"
8 #include "SparkFunCCS811.h"
11 #define CCS811_ADDR 0x5A //Alternate I2C Address
13 #if defined (ARDUINO_ARCH_ESP8266)
19 #define SCL_LOW() (GPES = (1 << twi_scl))
20 #define SCL_HIGH() (GPEC = (1 << twi_scl))
32 #if defined (ARDUINO_ARCH_ESP32)
40 #if defined(ARDUINO_ARCH_AVR)
42 #define WAK_PIN 3 // for LightHub UEXT SCS Pin
54 int Poll(
short cause)
override;
66 int Poll(
short cause)
override;
in_hdc1080(Input *_in)
Definition: in_ccs811_hdc1080.h:64
void printSerialNumber()
Definition: in_ccs811_hdc1080.cpp:194
int Setup() override
Definition: in_ccs811_hdc1080.cpp:61
void printSensorError()
Definition: in_ccs811_hdc1080.cpp:233
int Setup() override
Definition: in_ccs811_hdc1080.cpp:22
Definition: in_ccs811_hdc1080.h:48
int Poll(short cause) override
Definition: in_ccs811_hdc1080.cpp:88
void printDriverError(CCS811Core::status errorCode)
Definition: in_ccs811_hdc1080.cpp:207
int Poll(short cause) override
Definition: in_ccs811_hdc1080.cpp:134
in_ccs811(Input *_in)
Definition: in_ccs811_hdc1080.h:52
Definition: abstractin.h:6
Definition: in_ccs811_hdc1080.h:61