Open 3PO opened 6 years ago
In your case above Interrupt flags: 1
indicates that the noise level is too high; you need to find a better location away from electrical interference.
The AS3935_demo
sketch in v1.0.4 tidies up the printing and removes the extra "Triggered!" lines. The reason for the interrupt is now given by a string so it is not necessary to decode the AS3935 interrupt flags to identify environments with too much background noise or disturbers.
I modified the as3935_demo.ino as follow:
But the issue is allways "Triggered!"
Where is my fail?
Info about the external IRQs at the ESP8266: https://techtutorialsx.com/2016/12/11/esp8266-external-interrupts/