95Views2Replies
Control RFM69HCW with Adafruit's Pro Trinket 5v?
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!
Discussions
2 years ago
The sample code on the AdaFruit site compiles just fine, when I put the correct library in my system. Check yours.
2 years ago
Have you included the SPI in the build ?