Example code works when flashed to a Particle Electron, but the same code causes a hard fault in a Particle Photon. The hard fault is thrown when DHT.acquire(); is called, which happens after pressing any key and "Retrieving information from sensor" is printed to serial.
Example code works when flashed to a Particle Electron, but the same code causes a hard fault in a Particle Photon. The hard fault is thrown when DHT.acquire(); is called, which happens after pressing any key and "Retrieving information from sensor" is printed to serial.