While uploading to Arduino, I Get the following faults:
I don't see any results in terminal. Any ideas? (Mac OSX)/Users/diog/Documents/Arduino/libraries/SparkFun_AS3935_Lightning_Detector_Arduino_Library-master/src/SparkFun_AS3935.cpp: In member function ‘uint8_t SparkFun_AS3935::_readRegister(uint8_t)’:
/Users/diog/Documents/Arduino/libraries/SparkFun_AS3935_Lightning_Detector_Arduino_Library-master/src/SparkFun_AS3935.cpp:507:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
_i2cPort->requestFrom(_address, 1); // Read the register, only ever once.
^
In file included from /Users/diog/Documents/Arduino/libraries/SparkFun_AS3935_Lightning_Detector_Arduino_Library-master/src/SparkFun_AS3935.h:4:0,
from /Users/diog/Documents/Arduino/libraries/SparkFun_AS3935_Lightning_Detector_Arduino_Library-master/src/SparkFun_AS3935.cpp:12:
/Users/diog/Desktop/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/Wire.h:64:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
/Users/diog/Desktop/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/Wire.h:61:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);