Comments (5)
Until the problem is solved in this library you can use my fork
https://github.com/tueddy/rfid.git
Or change "__FlashStringHelper " to "char" and remove "F()", see changes here: master...tueddy:rfid:master
from rfid.
Any way to get arround this bug (feature)?
Yes: espressif/arduino-esp32#8111
from rfid.
Hi,
I have the same problem:
https://forum.arduino.cc/t/macro-f-error/1118126/8
The implementation of the F() macro was changed in ESP32 core version 2.0.8.
It is now
#define F(string_literal) (string_literal)
instead of casting to const __FlashStrinHelper *.
This breaks use cases like
const __FlashStringHelper *MFRC522::GetStatusCodeName(MFRC522::StatusCode code ///< One of the StatusCode enums.
) {
switch (code) {
case STATUS_OK: return F("Success.");
case STATUS_ERROR: return F("Error in communication.");
...
default: return F("Unknown error");
}
} // End GetStatusCodeName()
Until the solution, downgrade to ESP32 core 2.0.7.
from rfid.
Had same problem. Change F(“X”) in “return” statements in MFRC522.cpp to “((__FlashStringHelper *) “X”)” and all works fine with ESP32 2.0.8.
ESP32 team says this will be fixed at their end in 2.0.9.
from rfid.
Problem is fixed with Arduino 2.0.9 (PlatformIO Package 6.3.0)
from rfid.
Related Issues (20)
- Message spam if the approximate card is not registered (how to solve it?)
- PICC type: Unknown type HOT 1
- How to extend this library for spresense board HOT 1
- Firmware version
- RST not works HOT 1
- Rfid
- WARNING: Communication failure, is the MFRC522 properly connected? what is the problem?
- RC522 Mini Not Work vs RC522 Normal HOT 5
- How to get 5 bytes UID ? HOT 3
- Help i can't get the RC522 module for RFID to work. HOT 4
- Card Avaliable Function
- RFID tag shows lines "-----" instead of actual values
- Example "Minimal-SPI" does not compile HOT 1
- "the ordered comparison of pointer with integer zero" Fix for RP2040 (earlephilhower core > 3.3x)
- Help! How does the uid data is return to the buffer array in PICC_Select
- Help me? ARDUINO RC522
- Missing L1 on Hardware - please help what typ to insert...
- CardReader do not detect new cards
- Unable to read a known version from the rc522. Getting 0x89 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rfid.