Arduino + C# + RFID?

Asked

Viewed 193 times

0

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

serialPort1.Open();
string entrada = serialPort1.ReadLine();
serialPort1.Close();
txt_tag.Text = entrada;

1 answer

2


If it is an Arduin with two readers, in the Arduin code you send a code identifying which reader was concatenated with the id read, use a char to separate the two values ';' for example, when receiving the value, use the eating value.split(';'); to obtain the separate values.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.