Author Topic: Connection Problem  (Read 922 times)

mc-Abe

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • mc-Things
Re: Connection Problem
« Reply #15 on: July 26, 2016, 10:59:45 am »
@helge
I looked over you code. I can't 100% test it since I don't have your device. However, I was wondering where you got the 0x1D slave address from? I don't see 0x1D as an option in the table in TSL2561 datasheet which I have attached here. Unless I am looking at the wrong table.

If this is the case, you will have a run-time error as you try to read data that never came back from the device. Did you ever try this in debug mode? You should have gotten a pop up that told you that.