Hi, I recently started with Arduino and now I want to add a WiFly shield to the Due.
When trying to run one of the demo applications (SpiUartTerminal) I got an error during the verification.
_Spi.cpp: In member function 'void SpiDevice::_initSpi()':
_Spi.cpp:62: error: 'SPCR' was not declared in this scope
_Spi.cpp:62: error: 'SPE' was not declared in this scope
_Spi.cpp:62: error: 'MSTR' was not declared in this scope
_Spi.cpp:62: error: 'SPR1' was not declared in this scope
_Spi.cpp:62: error: 'SPR0' was not declared in this scope
_Spi.cpp:63: error: 'SPSR' was not declared in this scope
_Spi.cpp:63: error: 'SPI2X' was not declared in this scope
_Spi.cpp: In member function 'byte SpiDevice::transfer(byte)':
_Spi.cpp:104: error: 'SPDR' was not declared in this scope
_Spi.cpp:105: error: 'SPSR' was not declared in this scope
_Spi.cpp:105: error: 'SPIF' was not declared in this scope
I assume it has to do with the fact that I am using the Due.
Any idea how to solve this error?
Thanks in advance,
Henk