Open wpetefish opened 6 years ago
Try with the library versions now found in README.md. I do not add SPI.h to the compile and it builds fine for me. I think the SdFat library I'm using imports the SPI library. If you've got Arduino IDE 1.8.7 and the proper libraries it should compile as-is. I just checked and my copy of GVRET matches the master branch of this repo so I haven't done anything different to make it work. The code should compile as-is if the proper library versions are used.
I have all the latest versions and am still running into the same issue.
I found that if you try to compile this without an #include "SPI.h" the firmware will not compile with a vanilla copy of the Arduino IDE 1.8.7 giving the following error:
/home/blackfire_tx/Downloads/GVRET/GVRET.ino: In function 'void setup()': GVRET:360:9: error: 'SPI' was not declared in this scope SPI.begin(); ^ /home/blackfire_tx/Downloads/GVRET/GVRET.ino: In function 'void loop()': GVRET:1110:21: error: 'SPI' was not declared in this scope SPI.begin(); ^ exit status 1 'SPI' was not declared in this scope