Forum >Gravity: Lightning Sensor Library
Gravity: Lightning Sensor Library

I am following the tutorial on this website for the gravity lightning sensor
I have basically copied and pasted this code into the arduino IDE and installed the DFRobot_AS3935_I2C library as stated in the instructions.
However when I go to compile onto the Arduino the following line causes an error
#include "Lib_I2C.h"
I can't find this library anywhere nor is it stated in the instructions how to get the library..
Is anyone able to help me locate this?
Thanks
2022-08-01 14:53:59
ethoscraig
Just to update this I ended up using the Wire library and changed the commands to be suitable for that library to get the sensor to work.

View Arduino ProductsMore Arduino Related ProjectsArduino TutorialsMore Gravity ProjectsView Gravity Products