Nutsy wrote:Hmm im getting spi was not declared in this scope error... Is it ina specific library?
If some libraries use SPI or Wire library you must put a #include in your sketch. I believe that older IDEs don't require it but newer IDE require it.
It is the same using Arduino boards.
So if you get that error just put the #include.
It is an IDE requirements because before compiling the IDE copies all files in a temporary folder but seems that it fails with SPI or Wire library when the #include is only in the library.