Attiny85 and CC1101

Hi everyone,

I am trying to compile CC1101 libraries (I found two, CC1101 Copyright (c) 2011 panStamp contact@panstamp.com and smartRC-CC1101-Driver-Lib arduino ) on Attiny85.
Unfortunately I cannot compile them (for example the first library):

According to https://www.14core.com/wiring-the-cc1101-1ghz-lss-low-power-spi-interface-spring-coil-transceiver-3052-2/ Attiny85 can work with this module/library

Any help is very much appreciated

The Attiny85 does not have a real "SPI" peripheral. It has a "USI" interface. This is the reason why the compiler is complaining about missing "SPCR", "SPE", blah blah blah. Those register names are used for the Atmega series (Arduino Uno, Mega, etc) and not for the Attiny series (Attiny85 ...)

Thanks for the reply. I cannot compile for Attin88 also.. I think Attin88 supports SPI.. isn't that true?

ELECHOUSE library does compile for Attiny88. Thank you!!

PS new forum doesn't look as good as before. :smiley:

Well i can read your picture, could you post the error message using code tags by selecting the code in the IDE, right-click and select "Copy for forum" and paste it here.
hitting the </> code-tags button here on the forum is also starting to work properly,

There is quite a few different types of modules with that name, can you post a link to the specific one you have. I found more than 2 libraries with a single google search btw.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.