It seems as though DHT.acquireAndWait() is causing issues on an Argon with Device OS v1.2.1-rc.3. I was able to reproduce the issue even with the DHT_simple example from the library. Whenever this line is executed, the device begins an SOS red led sequence with 14 flashes following the SOS. Has anyone else experienced this?
That is a very strange panic code for that library
The library doesn’t really have any busines with that.
Have you tried with any other device OS version?
Yes. It doesn’t have the same behavior on 1.1.0-rc.2 with the same example (or custom firmware).
Can you file an issue report at https://github.com/particle-iot/device-os/issues about that, please?
You may need to reference this thread and explicitly state that it’s not an issue with the library as it used to work prior 1.2.1-rc.3
Issue created: https://github.com/particle-iot/device-os/issues/1835
Thank you, @ScruffR.
Just got the same issue after updating my Argon to V1.3.0-rc-1 from V1.1.0
Hi there, I’ve been brought to this thread by a similar issue on my Photon.
I’m using the PietteTech_DHT library on a suite of Particle boards including Photons, Xenons and an Electron. The Photon in question just updated from 1.1.0 to 1.2.1
I have this issue on a Photon, is there a code fix that solves this issue ?
You could try the proposed workaround in this PR
I’m still waiting whether Particle is providing a
detachInterrupt() variant that can be called from an ISR before considering an update to the library really.
The workaround worked for me. Thanks.