summaryrefslogtreecommitdiff
path: root/include/driver
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver')
-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;