Sunlight Sensor Si1151 Not working example code

I was using V1.0 and was working fine. But when i order new v2.0 it seems to need libraries .h file and .cpp file to work this sensor. could you please confirm the never Si1151 is still working with the example code?

Same here. I think the new SI1151 (v2.0) is not backwards compatible with SI1145 (v1.0), which is the one with most examples and working libraries. Seeedstudio should provide more info in the product page (it even points to the 1145 datasheet only)