Not getting expected output on serial monitor for Example code

https://learn.sparkfun.com/tutorials/sp … ample-code

I can see the following on my Serial Monitor:


Initialization of the sensor returned: Data Underflow

Trying again…

Initialization of the sensor returned: Data Underflow

Trying again…

.

.

.

.

Could you please let me know what could be the possible reason for this?

Sorry for creating a new topic for an already existing issue. I came across 4 similar posts on the forum with no proper solution…I hope to get a solution here (I am suing Sparkfun Redboard)

1 more thing, the power LED doesn’t turn on now, it was glowing perfectly a few days back.

I haven’t worked with that board but looked into the code. Are you using SPI or i2c?

If you are using i2c it should be possible to lower the clock frequency for testing purposes.

What Arduino are you using with the sensor?