I'm having issues with the SD library. I have a basic sketch that writes data to an SD card via the Arduino WiFi shield using a Mega just fine but not in the DUE IDE.
I have downloaded the version 1.5.2 beta from the web site and found only LiquidCrystal and the SD hardware library directory. So I copied the SPI folder/files over to the hardware library directory from the 1.5 version.
When I go to compile the program it can't find the SPI.h header file even though it is in the directory just like the old version was.
C:\Users\Adam\Downloads\Apps\arduino-1.5.2-windows\arduino-1.5.2\libraries\SD\utility\Sd2Card.cpp:26: fatal error: SPI.h: No such file or directory compilation terminated.
Does anyone know how to fix this error?