From 7f1f4aeee136c006ae16f4207eb7589af80e9d31 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 15 Jan 2024 17:51:42 +0100 Subject: MAX444006: Implement setAmbientConfig --- include/driver/max44006.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/driver') diff --git a/include/driver/max44006.h b/include/driver/max44006.h index 4aac90f..4b3a519 100644 --- a/include/driver/max44006.h +++ b/include/driver/max44006.h @@ -69,10 +69,11 @@ class MAX44006 { MAX44006(unsigned char const addr = 0x45) : address(addr), ambientConfig(TEMPEN) {} - uint8_t init(); + bool init(); uint16_t getTemperature(); bool getLight(float *red, float *green, float *blue, float *clear, float *ir); + bool setAmbientConfig(AmbientConfig config); }; extern MAX44006 max44006; -- cgit v1.2.3