sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.61k stars 621 forks source link

Interfacing Lora with Attiny85 #584

Open hoseinaghajari opened 2 years ago

hoseinaghajari commented 2 years ago

Hi Dear @sandeepmistry , I'm gonna running LoRa(RA-02 Module) with Attiny85. After burning Bootloader, Attiny works properly with Blink and other basic Programs. But This library Didn't recognize Attiny85 as a preferable IC. This is my error:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src/SPI.h:310:55: note: suggested alternative: 'ACIE' exit status 1 Error compiling for board ATtiny25/45/85.

Would you mind tell me how fix it? Or even is it works on Attiny?

anacforcelli commented 1 year ago

SPI is not that good with ATTiny. There are some alternatives, though, like tinySPI or other libraries