Quote Originally Posted by astanapane View Post
i have changed the () with this [] but didnt work.

something else is the mistake and i cannot understand.

When i pass the tag from the reader doesnt do anything, but i pass it twice then i get the bad tag on the display.

It seems that doesnt recongise the tags i gave to the program.

somthing has to do with this line

SERIN2 portb.1, 84, [WAIT($0A), STR buf\10] 'the number 10 here is the 9600???

i cannot understand this line could you help?

FOR idx = 0 TO 11 ' here is it ok this line if my RFID tags have 12 digits?
READ (((tagNum-1) * 10) + idx), char ' this line is chineese to me. what is the number 10 in there? What number should i put if my RFID tags have 12 digits?
Working from memory here, my book is outside, and I am not dressed to go get it . . .
As I remember the 84 is the Mode setting the baud rate, the buff\10 sets the string state to 10 characters - 0 to 11 would equal 12 characters in your index, so I am thinking your buf\10 should be buf\12 . . .