I’m doing a project for school, it is making a weather station.
For the light sensor, I have bought the TSL2591 from Adafruit.
I’m programing with Atmel studio in C.
My problem is that the datasheet isn’t clear.
I have the senor set on the scoop and I see the data wave but I can’t make a program with that.
Can someone help me?
I have the sensor tested on Arduino with a demo program from the internet.
Now I want to program it in C.
I want to know the sequence of the commands to initialize the senor.