I am having a problem with the library of Sparkfun SparkFunMAX17043/SparkFunMAX17043.h . It seems that when I download the example MAX17043_SIMPLE from the particle cloud to my photon , the photon when then reboots stays in steady white led and doesn’t do anything . It is like craching the software of photon.
Do you have suggestions?
Has anyone else the same problem and how did you solve it?
I am using the 0.4.7 firmware .
It used to work before 1 month . Maybe something is changed from the particle side?
I am using also the sparkfun board the power shield, I think they have it included.
The other strange is that when I upload some other program that does not have these specific library everything is OK. Also I have tries to do a dfu flash but I can not see the device through the USB .
Is it possible our photos to be broken? All 4 of then are doing the same thing when I upload the sparkfub program .
Yup, whatever hardware you use, since the external hardware will influence the behaviour of the code.
Without hardware I (or anybody else) would only be able to guess what could cause the code to freak out.
Yes of course , I have found out that when you use a library for an I2C device , if for some reason this device is not connected or there is no hardware to a related software then the photon crashes. I do not know why is this happening ,but it does.
You must check if the your software is using hardware that is not connected to the Photon. If you use any kind of libraries in your software that refer to a hardware , you hardware may be well connected and exists, or else you will get errors .