Sergey Nikitin / RFID_125KHz_Grove

Homepage

Library for Grove RFID scanner

http://www.seeedstudio.com/wiki/Grove_-_125KHz_RFID_Reader Model: SEN11425P

/media/uploads/sergeynikitin/300px-grove_-_125khz_rfid_reader.jpg

Tested with STM32 Nucleo 401RE

Example of use

//Example of use:
  
#include "mbed.h"
#include "RFID_125KHz_Grove.h"
 
char buff[64];
 
RfidGrove rfid(PA_11, PA_12, buff, 64);
Serial pc (USBTX,USBRX);
 
int main()
{
    pc.baud(9600);
    pc.printf("RFID TEST \n");      
    
    while(1) {
        if( rfid.Available()) {
            pc.printf("|>%s< (%d char)| " ,buff,rfid.GetCharCount());
        }
    }
}

All wikipages