ddodge
Junior Member
Posts: 75
|
Post by ddodge on Mar 19, 2018 8:34:28 GMT -8
Got my new Thunderboard and have it hooked up. Installed library from GITHUB: github.com/switchdoclabs/SDL_Arduino_Thunderboard_AS3935Am using Arduino 1.8.5 under UBUNTU 17.10 Linux. Installing the library creates a LIBRARY directory called: SDL_Arduino_Thunderboard_AS3935-master under which has all the GITHUB files Running the example .INO file generates the following error messages: Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Uno" Build options changed, rebuilding all /home/ddodge/Arduino/libraries/SDL_Arduino_ThunderBoard_AS3935-master/SDL_Arduino_ThunderBoard_AS3935/SDL_Arduino_ThunderBoard_AS3935.ino:25:45: fatal error: SDL_Arduino_ThunderBoard_AS3935.h: No such file or directory #include "SDL_Arduino_ThunderBoard_AS3935.h" ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno. I have tried renaming directories and files and such but nothing............ Thoughts? Thanks!!!
|
|
|
Post by SDL on Mar 19, 2018 12:59:22 GMT -8
Rename the directory removing the "-master"
That should do it.
BP
|
|
ddodge
Junior Member
Posts: 75
|
Post by ddodge on Mar 19, 2018 17:40:46 GMT -8
Thanks for the quick feedback. I exited out of Arduino, change the directory name in the library, restarted the IDE - same result:
Arduino: 1.8.4 (Windows 7), Board: "Arduino/Genuino Uno"
C:\Users\ddodge\Documents\Arduino\libraries\SDL_Arduino_ThunderBoard_AS3935\SDL_Arduino_ThunderBoard_AS3935\SDL_Arduino_ThunderBoard_AS3935.ino:25:45: fatal error: SDL_Arduino_ThunderBoard_AS3935.h: No such file or directory
#include "SDL_Arduino_ThunderBoard_AS3935.h"
^
compilation terminated.
exit status 1 Error compiling for board Arduino/Genuino Uno.
|
|
|
Post by SDL on Mar 20, 2018 6:07:02 GMT -8
Move it out of libraries into the main Arduino directory.
BP
|
|
ddodge
Junior Member
Posts: 75
|
Post by ddodge on Mar 20, 2018 17:10:42 GMT -8
Did not work. However, I renamed all files and directories to SDL_AD3935 and edited the CPP file and it worked. Maybe the overall string of characters is tooooooooooooooooo long.
bestTune = 0 Difference =3125 Tuning out of range, check your wiring, your sensor and make sure physics laws have not changed! Noise floor is: 1 Spike rejection is: 2 Watchdog threshold is: 2
|
|
ddodge
Junior Member
Posts: 75
|
Post by ddodge on Mar 20, 2018 17:30:35 GMT -8
Got the board away from the CPU and laptop then shorted out a 9v battery to simulate lightening....
|
|
ddodge
Junior Member
Posts: 75
|
Post by ddodge on Mar 20, 2018 17:30:45 GMT -8
bestTune = 1 Difference =24 Noise floor is: 1 Spike rejection is: 2 Watchdog threshold is: 2 Noise level too high, try adjusting noise floor Disturber detected Lightning detected 31 kilometers away. Noise level too high, try adjusting noise floor Disturber detected Lightning detected 14 kilometers away.
|
|
|
Post by SDL on Mar 20, 2018 18:16:03 GMT -8
Wow! You are working. Good idea on the battery!
BP
|
|