summaryrefslogtreecommitdiff
path: root/include/driver
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-19 22:24:25 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-19 22:24:25 +0100
commitafe39c8baefc92f0d8f9c719990299f6affa498d (patch)
tree3a9f8201b0143791881ac5eed60470ad24fd5b41 /include/driver
parent785c417f499326a64b290d79badcbe59eee60fd7 (diff)
ccs811: add setEnv variant with float arguments
Diffstat (limited to 'include/driver')
-rw-r--r--include/driver/ccs811.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/driver/ccs811.h b/include/driver/ccs811.h
index 8be0e6e..98ef42b 100644
--- a/include/driver/ccs811.h
+++ b/include/driver/ccs811.h
@@ -31,6 +31,7 @@ class CCS811 {
void setMode(unsigned char mode);
void read();
void setEnv(unsigned char humi, unsigned char humi_fraction, unsigned char temp, unsigned char temp_fraction);
+ void setEnv(float humi, float temp);
void reset();
};