Modified by SwitchDoc Labs to Support the Thunder Board
This script will only work if the correct kernel modules are loaded on your Pi. Adafruit has a nice tutorial set up,
You will likely not see anything show up when you run
i2cdetect. Test using demo.py
You can copy the files into your main program directory (suggested)
from SDL_Pi_Thunderboard_AS3935 import AS3935
A python library and demo script for interacting with the AMS Franklin Lightning Sensor.