Step 3: The Code
I'm not a software guy, so this code is just for demonstration.
I don't make any kind of checksum at the tags code, but it seems to work fine.
The code is really simple. I used a new library for the serial, using software emulation.
With the two white cards you can deny or allow the access of others keys.
Any doubt, please ask me.
code update for new Arduino version