Ported from the Adafruit SI1145 Library Link To Adafruit Source SI1145 I2C Driver for ESP32 w/ FreeRTOS Mainly supported on C. To use on C++, #define __cplusplus in the header file SI1145 Breakout Board SI1145 Datasheet