SparkFun Lightning Detector refuse to run

While uploading to Arduino, I Get the following faults:

/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);

I don't see any results in terminal. Any ideas? (Mac OSX)

Hi diog,

Can you please provide a bit more information on your setup here? First, is the compilation/upload freezing at those errors or is it uploading despite them? Next, what version of Arduino are you using and what type of Arduino are you connecting the Lightning Sensor to? Lastly, what version of Mac OS X are you using?