Arduino + C # + RFID?

0

I can get the id of the tag with this code snippet and play in a Textbox , but, how would I get the information of which reader RFID it was read?

serialPort1.Open();
string entrada = serialPort1.ReadLine();
serialPort1.Close();
txt_tag.Text = entrada;
    
asked by anonymous 18.03.2017 / 14:09

1 answer

1

If it is an arduino with two players, in the arduino code you send a code that identifies which reader came concatenated with the id, use a char to separate the two values ';' for example, when you receive the value, use the value value.split (';'); to get the values separated.

    
18.03.2017 / 23:08