I have an ID12 RFID reader working with my arduino duemilanove - ie it is lighting the led when a tag is read and is outputting the correct serial information.
Im using the code from here:
http://www.arduino.cc/playground/Code/ID12
My question is how do i use the data to turn an led a certain colour for example. so i want to add a function like
if (code = 2800C4DCIF){
digitalWrite (LED1, HIGH); }
I need to convert the data its giving me but i dont know how to convert it or what to convert it to. A simple explanation of what i need to do would be brilliant. I think i need to convert it to a string or parse it or something. Im not sure so an example would be great.
Thanks