sparkfun / SparkFun_AS3935_Lightning_Detector_Arduino_Library

Other
37 stars 19 forks source link

Lightning Energy Function Errors #14

Closed edspark closed 4 years ago

edspark commented 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.

edspark commented 4 years ago

Fixed here: https://github.com/sparkfun/SparkFun_AS3935_Lightning_Detector_Arduino_Library/releases/tag/v1.4.1