Closed edspark closed 4 years ago
Looks like bits are not being shifted correctly to get the correct value. Check that the variable is not being over shifted and that the mask is masking the correct amount of bits.
Fixed here: https://github.com/sparkfun/SparkFun_AS3935_Lightning_Detector_Arduino_Library/releases/tag/v1.4.1
Looks like bits are not being shifted correctly to get the correct value. Check that the variable is not being over shifted and that the mask is masking the correct amount of bits.