We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for the library. I bought a sensor and was using it yesterday. I believe however that there is an issue in returning the distance.
I think the mask for distance should be:
instead of the present
From the AS3935 spec sheet: DISTANCE [5:0] R 000000 Distance estimation
The 1F mask only allows 5 bits instead of 6, so distances returned would always be less than 32km instead of the 63km range of the chip.
Let me know if I am correct about this.
Thanks, Frank
The text was updated successfully, but these errors were encountered:
fixed issue #5 and added costructor description to README.MD
b92b933
Thank you, duly noted and fixed.
Sorry, something went wrong.
No branches or pull requests
Thanks for the library. I bought a sensor and was using it yesterday. I believe however that there is an issue in returning the distance.
I think the mask for distance should be:
define AS3935_DISTANCE 0x07, 0x3F
instead of the present
define AS3935_DISTANCE 0x07, 0x1F
From the AS3935 spec sheet:
DISTANCE [5:0] R 000000 Distance estimation
The 1F mask only allows 5 bits instead of 6, so distances returned would always be less than 32km instead of the 63km range of the chip.
Let me know if I am correct about this.
Thanks,
Frank
The text was updated successfully, but these errors were encountered: