hello, new here, having some problems. when I simply import the SPI library, I get numerous errors. is there a simple thing I'm doing wrong? I've tried looking but nobody else seems to be having the problem, help would be greatly appreciated. thanks.
here's the code
#include <SPI.h>
void setup()
{
}
void loop()
{
}
and when compiled returns this error
In file included from sketch_jun14b.cpp:1:0:
C:\Users\tgkann\Documents\Energia\libraries\SPI/SPI.h: In static member function 'static byte SPIClass::transfer(byte)':
C:\Users\tgkann\Documents\Energia\libraries\SPI/SPI.h:56:3: erro