Issues with RFID sensor

Hello everybody,
I am trying to read my RFID sensor with the Heltec AB01 and the Arduino library does not compile, has anyone tried to read it before? With what library?
Thanks a lot.

maybe you can post your code.

#include <MFRC522.h>
#include <SPI.h>
#include “Arduino.h”

const int RST_PIN = 13;
const int SS_PIN = 5;
MFRC522 mfrc522(SS_PIN, RST_PIN);

void setup()
{
Serial.begin(115200);
delay(10);

SPI.begin();
mfrc522.PCD_Init();

}

/*

   LOOP

==================== */
void loop()
{
if (mfrc522.PICC_IsNewCardPresent())
{
if (mfrc522.PICC_ReadCardSerial())
{
String hexstring = "{“uid”: “”;
Serial.print(F("Card UID: "));

  for(int i = 0; i < mfrc522.uid.size; i++) {
    if(mfrc522.uid.uidByte[i] < 0x10) {
      hexstring += '0';
    }
    hexstring += String(mfrc522.uid.uidByte[i], HEX);
  }
  hexstring += "\"}";
  
  hexstring.toUpperCase();
  Serial.println(hexstring);

  mfrc522.PICC_HaltA();
}

}
delay(250);
}

Now my code only focuses on reading the rfid cards

error: #error “This library needs at least a C++11 compliant compiler, maybe compiler argument for C++11 support is missing or if you use Arduino IDE upgrade to version >=1.6.6”
#error “This library needs at least a C++11 compliant compiler, maybe compiler argument for C++11 support is missing or if you use Arduino IDE upgrade to version >=1.6.6”
^
exit status 1

CubeCell must use GPIOx to use the pins.
%E5%9B%BE%E7%89%87

%E5%9B%BE%E7%89%87

BTW, AB01 don’t have GPIO13.

This compilation error should not be a problem with our cubecell development environment. maybe you can try the git version.

Thanks a lot!
I try it right away.