I recently bought a Nano Every and I tried to make it work but I keep having the same message and it seems like there is some sort of compatibility issue. (I'm a beginner)
My board works fine if I upload basic code, when I want to use Mozzi library, I get errors.
Here's the error message (I shortened it because it's verryyyyy long):
Arduino: 1.8.12 (Mac OS X), Board: "Arduino Nano Every, ATMEGA328"
WARNING: library Mozzi claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
/Users/milanguedec/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp: In function 'void setupFastAnalogRead(int8_t)':
/Users/milanguedec/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:31:3: error: 'ADCSRA' was not declared in this scope
ADCSRA |= (1 << ADPS2);
^~~~~~
...
Anyone has any idea what's going on ? I tried to run my board on ATMEGA4809 and ATMEGA328. I thought that Arduino Nano and Nano Every were compatible with the same libraries but it doesn't seems to be the case..
Thanks for your help