<!-- BEGIN - This is a comment just for you visible ### Step 0: Are you in the right place? GitHub issues only for **bugs** or **improvements** of the library. All other topics, e.g. hardware/programming, will be closed. For general support from the community, see [Arduino Forum](https://forum.arduino.cc/) or [StackOverflow](https://stackoverflow.com/questions/tagged/mifare). Please use the following template to give us as mutch information as you can. END - This is a comment just for you visible --> ### Step 1: Describe your environment * OS version: Windows * Arduino IDE version: VSCode with PIO, Teensyduino 1.56 * MFRC522 Library version: 1.4.10 * Arduino device: Teensy 4.1 * MFRC522 device: MIFARE1K ### Step 2: Describe the problem When working with version 1.4.10 reading the VersionReg returns 0x0 instead of the expected 0x92, Reverting back to 1.4.9 fixes the issue #### Steps to reproduce: 1. Initialize MFRC522 device 2. Read VersionReg 3. Print result #### Observed Results: 0x0 printed #### Expected Results: 0x92 print #### Relevant Code: ```c++ void setup() { SPI.begin(); // Init SPI bus rfid.PCD_Init(); // Init MFRC522 /* read and printout the MFRC522 version (valid values 0x91 & 0x92)*/ Serial.print(F("RFID Reader version: 0x")); byte readReg = rfid.PCD_ReadRegister(rfid.VersionReg); Serial.println(readReg, HEX); } ```
Activity
Rotzbua commentedon Dec 14, 2022
Function change was #569
Maybe teensy handles
yield()different than Arduino & ESP.Rotzbua commentedon Dec 29, 2023
@bigoren Have you tried to fix it or have a solution?