- Mon Jul 03, 2017 9:29 am
#195450
Hi all, first post on here!
I have the SparkFun RFID USB Reader board with UD-12LA RFID unit. I am happily reading the card tags using C# .NET and the serial port object.
I want to be able to implement / fake presence detection which I believe I can do by resetting the card via the reset pin for 150ms I believe. I'm also not sure if the reset pin is 13 or 2.
The arduino code seems to be something like this:
Thanks,
Gareth.
I have the SparkFun RFID USB Reader board with UD-12LA RFID unit. I am happily reading the card tags using C# .NET and the serial port object.
I want to be able to implement / fake presence detection which I believe I can do by resetting the card via the reset pin for 150ms I believe. I'm also not sure if the reset pin is 13 or 2.
The arduino code seems to be something like this:
Code: Select all
But how I send this via C# using the serial port object is a bit of a mystery. Can anyone help?int RFIDResetPin = 13;
void resetReader() {
digitalWrite(RFIDResetPin, LOW);
digitalWrite(RFIDResetPin, HIGH);
delay(150);
}
Thanks,
Gareth.