Sign up ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

I'm having a problem in compiling the example ScanNetwork codes in arduino it brings up an error that states "SPI.h: No such file or directory." Now I added an SPI folder in the libraries but after verifying it shows another error. I did the same thing to others but the compiler is looking for more and more files. What can I do? By the way, I'm using a Gizduino+ w/ ATmega644.

share|improve this question
1  
Sounds like your Arduino install is broken or incomplete. –  Ignacio Vazquez-Abrams Jul 21 at 1:11
    
You shouldn't need to add an SPI folder. SPI comes as default, unless you are using an unusual installation. Perhaps post a link to the Gizduino installation you are using, and the ScanNetwork library. –  Nick Gammon Jul 21 at 2:04

1 Answer 1

Just try by importing the SPI library to your code. near the import statements.

#include <SPI.h>

if problem still exists try re installing your Arduino IDE with latest stable version.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.