I2C issue with light sensor on photon

@helxsz, which sensor board are you using? Take a look at the release log for the firmware:

If you put the Photon in listening mode and run a terminal program like Putty and connecting to the Photon's serial port, then pressing"v" will display the firmware version. Here are some instructions: