Hi I’m new at all of this but some what savvy I’m also having problems with the SPI interface on my Electron core running 0.4.8. Trying to communicate with a BMP280 using the online BMP280 library. It hangs, does a magenta and reboots. Able to do the following statements
Adafruit_BMP280 bmp(BMP_CS); // hardware SPI
if (bmp.begin()) {
Particle.publish("DEBUG", "starting the environment timer...");
And next, what kind of crash do you see?
If it's a proper crash, you should see an SOS pattern followed by a number of slower blinks. That number is important to "guess" the reason.
But the magenta bit here would suggest that you are trying to flash a firmware that's not compatible with your system firmware (0.4.8). So back to line 1
Another puzzling bit in your first code block ist the lack of context.
Are you declaring bmp() in the same block as you are executing the following if() block?
And what's cToF() for and where is it from?
Yes it’s does a SOS then 1 blink. Will try to install 0.6.0. I was only
able to locate 5.0 binaries on GIT under the directory of Firmware. Is
it located in a different place?
regards,
dan