Jump to content
43oh

Recommended Posts

What MSP430 are you using?  SPI or I2C (just saw you tagged it I2C)?

If you look in Adafrauit's Adafruit_BME280.cpp file under lines 374, 403, and 437 - there is the following 'if' statement,

int32_t adc_T = read24(BME280_REGISTER_TEMPDATA);
  if (adc_T == 0x800000) // value in case temp measurement was disabled
 

return NAN;

NAN simply refers to 'not a number', and indicates typically something went wrong when reading the sensor. Adafruit's example was originally written for Arduino, so you'll have to use something similar for NAN in Energia I assume.

Link to post
Share on other sites
  • 3 years later...

Hello all,

I am working to CC3200 launchpad and i want to interface bme680 sensor with CC3200 using Energia IDE. I am searching for library of this sensor but couldn't fine one. Can anyone help me regarding this? I tested this sensor with arduino uno and esp32  and adafruit_bm680 library works fine. but i tried to run it on energia and it didn't worked. Please guide me regarding this thanks.

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.

Guest
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...