From afe39c8baefc92f0d8f9c719990299f6affa498d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 19 Dec 2021 22:24:25 +0100 Subject: ccs811: add setEnv variant with float arguments --- include/driver/ccs811.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/driver') 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(); }; -- cgit v1.2.3