Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 851 Bytes

README.rst

File metadata and controls

20 lines (14 loc) · 851 Bytes

Sample code for driving MAX44009 ambient light sensor via ESP-IDF's I2C master driver

See main code main.c.

About

This sample code implement procedures to read values from MAX44009 ambient light sensor via ESP-IDF's I2C master driver, based on Max Integrated's MAX44009 datasheet.

For local setup

For your local setup, connect SDI pin to GPIO 15 pin and the SCK to GPIO 2 pin as they are default ports (I2C_SDA, I2C_SCL) for I2C master according to ESP32 datasheet, C.4. IO_MUX, Page 49.