Using Two TSL2561 Sensors with Arduino Uno


I have used adafruit libraries to use the TSL2561 sensor

Adafruit publishes a fair number of libraries. I'm not inclined to guess which one(s) you are referring to.

and need to use 2 sensors with different addresses simultaneously , any one can help ?

So, what's the problem and where is your code?


That was NOT the correct way to post code. There are stickies at the top of this forum that you were supposed to read BEFORE posting. They told you how to post code properly AND how to post questions that lead to answers.

Go read them now, and fix your post.

Then, explain this:

and need to use 2 sensors with different addresses

What two sensors? Why does that code refer to an accelerometer, when clearly you are not using an accelerometer. You have not said what sensor you are using, and I’m not inclined to do your research.

Please use code tags.. See section 7,148850.0.html

Tom... :slight_smile: