Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MaximInterface mbed
MAX44009 Class Reference
Interface to the MAX44009 optical light sensor. More...
#include <MAX44009.hpp>
Public Member Functions | |
MAX44009 (mbed::I2C &I2C_interface, uint8_t I2C_address) | |
Result | read_current_lux (double &lux) const |
Read the current lux from the MAX44009. |
Detailed Description
Interface to the MAX44009 optical light sensor.
Definition at line 41 of file MAX44009.hpp.
Constructor & Destructor Documentation
MAX44009 | ( | mbed::I2C & | I2C_interface, |
uint8_t | I2C_address | ||
) |
- Parameters:
-
I2C_interface A configured I2C interface to use for communication. I2C_address Device bus address in mbed format.
Definition at line 38 of file MAX44009.cpp.
Member Function Documentation
MAX44009::Result read_current_lux | ( | double & | lux ) | const |
Read the current lux from the MAX44009.
- Returns:
- Success or Hardware_Failure.
Definition at line 41 of file MAX44009.cpp.
Generated on Wed Jul 13 2022 21:31:03 by
