I have a sparkfun RFID 13.56mHz card reader and i took an example code online that allows me to read the card tag. However, i'd like to know how do i verify the card by tapping it on the card reader and allowing it to say hi to me if it's the correct card. Here's my code:
If you are listening to the RFID reader, anything that the XBee receives will be discarded. If you are listening to the XBee, a tag scanned by the RFID reader will be discarded.
Surely you intend to listen to both at the same time, don't you? Not using an Arduino that has only one hardware serial port, you won't.
what do you mean by both are not the same size? I'm not catching what you're saying.
You mean that you don't know that an int and a byte are not the same size?
I also deleted the SoftwareSerial xbee(10, 9) and the rfid also stopped scanning for the card.
You made some code changes, and now the code doesn't do what you want. What it does is a mystery as is what the code now looks like. I'm not that fond my mysteries, unless they are murder mysteries. Are you volunteering for the starring role?
You could just look at my YouTube video #34 all about RFID readers which will give you a working example, and after that expand the code to do what you want. URL in the signature of this post.