Hi,
I am using Energia for reading data from a RFID reader module into msp430. I have simple connected the Tx pin (TTL logic) to the UART of msp430, this code shows me the correct value in the serial monitor when I place a tag near the rfid reader.
int rfid = 4;
void setup()
{
Serial.begin(9600);
pinMode(rfid, INPUT_PULLUP);
}
long int store;
void loop()
{
store = digitalRead(rfid);
Serial.println(store);
delay(100);
}
How do I process the 9-bytes of character on serial monitor further?, How can I control when to read from RFID reader ? I need to detect the tag and perform operations based on it.