76Views2Replies

Author Options:

Control RFM69HCW with Adafruit's Pro Trinket 5v? Answered

Hello, I'm having an issue controlling the RFM69HCW board (https://www.adafruit.com/product/3070) with the Pro Trinket  5V (https://www.adafruit.com/product/2000). The issue is when I go to compile an example code, the SPI class gives errors such as: 

...\Arduino15\packages\arduino\hardware\avr\1.6.12\libraries\SPI\src/SPI.h:250:27: error: 'SPIF' was not declared in this scope

       while (!(SPSR & _BV(SPIF))) ;

                           ^

I cannot find any help online after searching for awhile. If anyone could give me some insight on possibly how to get past using the SPI library or anything like that, that would be great! Thanks!

2 Replies

user
steveastrouk (author)2016-09-20

The sample code on the AdaFruit site compiles just fine, when I put the correct library in my system. Check yours.

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2016-09-20

Have you included the SPI in the build ?

Select as Best AnswerUndo Best Answer