I am using an adafruit flora lsm9ds0 with the adafruit_lsm9ds0 library over I2C.
I had the default sensorapi.ino working 2 weeks ago. I could see all the data in a monitor working great.
Today is now the first time I have touched my project, and every-time I try to flash the sketch, it’s successful for a second, then the monitor prints “LSM9DS0 9DOF Sensor Test”, and then I get the breathing green “disconnected from cloud” led.
I guess it is getting hung up somewhere, but I’m going crazy trying to figure it out.
Other sketches still seem to work fine.
I originally refrenced this thread:
And had it working.
The code verifies. I have flashed from safe mode, I have re-connected the photon to the network, I just can’t figure it out. It was working great, and nothing I can figure out has changed.
Even when I just flash the bare photon, without the lsm9ds0 connected, the monitor doesn’t get to the next line “Ooops, no LSM9DS0 detected … Check your wiring or I2C ADDR!” when lsm.begin() fails - so I just don’t get it.
I’m using the web ide, and firmware 0.61 on a particle photon. I’m on windows, and other sketches are working…
Any idea how I can troubleshoot this? Im going a bit crazy.