The purpose of the library is to provide a simple interface for interacting with the AS3935 module, which is capable of detecting lightning strikes, in the Go language. The library uses a module that allows to handle communication via i2c. The library allows to make changes and read values from to the module"s registers, which are described in the documentation.
The library is an alternative to implementations such as (which were very helpful to udnerstand the communication and logic of the module):
- github.com/DFRobot/DFRobot_AS3935 (Python implementation)
- github.com/DFRobot/DFRobot_AS3935 (C++ implementation)
Documentation:
package main
func main() {
fmt.Printf("TODO\n")
}