mbed library for TI's OPT3001 light sensor.
I2C frequency currently set at default of 200KHz. Feel free to modify as requried. Use i2c.frequency() function from mbed libs.
I2C pins defined in *.cpp for STM32F7-DISCOVERY & NUCLEO_F429ZI boards. Please change as required for target platform.
I2C address for sensor defined in *.h file. Please refer to the comments & change as required for target platform.