Adafruit TSL2561 sensor - The same output all the time

Hi,
I'm using the adafruit TSL2561 sensor. When the sensor test start it says: Found a TSL2591 sensor but I got the following string:
[ 1145 ms ] IR: 65535 Full: 65535 Visible: 0 Lux -1.000000. This line keeps repeating the same output. Anyone an idea what this means?

Thanks in advance!

Kind regards,

Carly

It reads that when the light is too bright. Is it still the same in lower light? When you drop the gain and integration time?

Edit:

[quote}Found a TSL2591 sensor[/quote]

591 is a different sensor, have you specified the 561 in the code?

The TSL light to voltage sensors are very simple to use - power, ground, voltage out.
I would suggest you start with one of the three lead devices that come in IR and visible light types.
You don't even need an Arduino to test them.
Get hold of the data sheets, pick one that suits you, power it up, plus any recommended capacitors or resistors, and check the output with a multimeter. I think TSL devices are made by AMS now.
You will soon get a feel for what output you get for various light levels.
Your data is almost certainly over-range.
I sometimes use them as a simple interface when counting LED flashes.
For readings in the range of the device, you might have to use something to attenuate the light level from something crude like a sheet of paper to some translucent plastic.
Just covering the device with a box should give you much lower readings

The TSL light to voltage sensors are very simple to use - power, ground, voltage out.

The TSL2561 is a digital sensor, with an I2C interface. So is the TSL2591 High Dynamic Range light sensor.

@czegers91: you need to determine which sensor you actually have, and make sure that you are using the correct code example.