Need Assistance with RFID

I have an Adafruit NFC/RFID Shield connected to an Arduino Uno. Im trying to create a basic program of having the RFID shield turn on a red LED when the red tag is placed on the sensor and vice versely a green LED turn on with the green tag. I can't seem to find any samples for the shield and I am pretty new to arduino programming.

Any advice tips or samples you can provide would be appreciated. Thanks.

Start off with the example code that Adafruit supply.
Then extend it to compair what you get with what you want.

I made a game with this a while back. Mastermind Game Idea | Electric Projects

engineer5000:
I have an Adafruit NFC/RFID Shield connected to an Arduino Uno.

Do you mean this one: Adafruit PN532 NFC/RFID Controller Shield for Arduino + Extras : ID 789 : Adafruit Industries, Unique & fun DIY electronics and kits?

engineer5000:
I can't seem to find any samples for the shield and I am pretty new to arduino programming.

Linked from that very same page is:
Check out our RFID/NFC project page for documentation, libraries, and other support
That set of pages includes a link to the library:

And the library has ELEVEN example sketches.

Install the Adafruit-PN532 library by following these instructions:
http://arduino.cc/en/guide/libraries

Then you will find the examples under File->Examples->Adafruit-PN532 in your Arduino IDE.

Pauly:
I made a game with this a while back. Mastermind Game Idea | Electric Projects

At the moment I have the example sketch and its supposed to turn on LED but when I put the tag up to the RFID sensor, the serial monitor says "Tag number: 1. Don't know how to handle this command: 81"

My biggest problem is first how to program the individual tags OR just which example to work with and input the tags UID Value and when the shield sense the tag it sends a signal to do something.

If I were using an adafruit RFID reader I would install the matching adafruit library and start reading the eleven adafruit library examples to see if any of them are close to what I want to do. If the examples don't work I would suspect a hardware fault.

This is a great and simple example for when a tag is scanned, do this...

It shows how to check for the UID of the card.

I would download Adafruit's library from GitHub GitHub - adafruit/Adafruit-PN532: Arduino library for SPI and I2C access to the PN532 RFID/Near Field Communication chip and then try the example readMifare.

Or post your code as it seems like you already have written some code.