Jump to content

Recommended Posts

Hi All,


I am new to Energia and CC3200. I am trying to read readings from a BH1750 light sensitivity sensor and I am getting invalid data (readings are 0lx or -1lx depending on the sketch/.h implementation). Also the master_reader example returns 0. Moreover, I run a few I2Cscanner sketches and I get multiple addresses as active, while I have only one device connected!

I have revised the *.h and *.cpp files I am using and it seems that they are properly built to communicate with Wire.h & Wire.cpp.

I am connecting the sensor on pins 9 & 10 with pink J2 & J3 shorted.

Additionally, I found this thread 

I understand that I2C is a difficult topic, therefore I am asking for your help!


Thank you!

Edited by PDiot
corrected link
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...