Provide c++ transposition of the Arduino code for MFRC522