summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-15 17:51:42 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-15 17:51:42 +0100
commit7f1f4aeee136c006ae16f4207eb7589af80e9d31 (patch)
tree974c3a261e264a2d51cde877986047a0b99ff12a /include
parent480c55a52673f555ab774233fa482b700278cdd4 (diff)
MAX444006: Implement setAmbientConfig
Diffstat (limited to 'include')
-rw-r--r--include/driver/max44006.h3
1 files changed, 2 insertions, 1 deletions
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;