Hello,
I am attempting to use the RFR101A1M RFID reader to read multiple tags at the same time. However, when I enter two tags within the read range it stops reading all together.
Here is my code so far:
[code]int x=13;
int i=0;
int a[12];
void setup()
{
Serial.begin(9600);
}
void loop()
{
if(Serial.available())
{
while(Serial.available())
a[i]=Serial.read();
Serial.write(a[i]);
if(i<=x){
i++;
}
if(i>x){
i=0;
Serial.println();
}
}
}[/code]
Any suggestions on how to read multiple tags?
Thanks