Closed ghost closed 4 years ago
That is a problem of the Arduino Nano Every software. Seems they use incompatible types. Please reports this to arduino team.
Yesterday I was so close to post the exact same issue. Have you already reported it somewhere? Could you keep us updated?
I reported the problem to arduino team and there is a patch here : https://github.com/arduino/ArduinoCore-megaavr/issues/62
The MFRC522 Library can't compile with the new "Arduino Nano Every". It's ok for the old Arduino Nano.
I tried with the different examples provided with the library : Dumpinfo, RFID-cloner, etc.
The error is :
Arduino.h:30:20: error: cannot convert 'const char' to 'const __FlashStringHelper' in return
define F(str) (str)
MFRC522.cpp:1341:24: note: in expansion of macro 'F'
default: return F("Unknown type");