Updating a v0.23 RFID sketch to v1.0

I've tried the parse function that you've written.

I swiped a tag with the HEX key 42 52 F2 39. This is 66 82 242 57 in DEC

Arduino v1.0 prints nothing after 'Start'. Thats without or with a tag present.

Arduino v0.23 continually prints..

0
2
130
76
208
255

...after "Start" until I swipe a the tag mentioned above, then it prints: (which you can see is the 66 82 242 57)

0
6
130
2
66
82
242
57
73
255

Incase you needed to to see it together! here you go:

Start
0
2
130
76
208
255
0
2
130
76
208
255
0
2
130
76
208
255
0
2
130
76
208
255
0
2
130
76
208
255
0
2
130
76
208
255
0
6
130
2
66
82
242
57
73
255
0
2
130
76
208
255
0
6
130
2
66
82
242
57
73
255
0
2
130
76
208
255

I guess that explains the 255, as that appears to be the end of each cycle.

I also understand now why in the original code we build an array of 10 items (Str1[]) and only print numbers 5, 6, 7 and 8. Those are the tags ID.

I'm not clear what 0, 1, 2, 3, 4, 9 and 10 are in that array.

I also can't say I understand the Halt function..

void halt()
{
 //Halt tag
  rfid.print(255, BYTE);
  rfid.print(0, BYTE);
  rfid.print(1, BYTE);
  rfid.print(147, BYTE);
  rfid.print(148, BYTE);
}

Definitely feel out of my depth at the moment!