Hi Steve.
Has to see full 10 digits.... the X on the last one is my checksum.... just to see what happens if Number not in eprom
Four doors
Four different keys
one key for each door !!
Hi Steve.
Has to see full 10 digits.... the X on the last one is my checksum.... just to see what happens if Number not in eprom
Four doors
Four different keys
one key for each door !!
Last edited by andybarrett1; - 1st September 2014 at 21:53. Reason: clarification
What you need to do is
For each id check each character and if one does not match jump out. If all match unlock door.
FOR idx = 0 TO 9 ' scan bytes in tag
READ (((tagNum-1) * 10) + idx), char ' get tag data from table
IF (char != buf(idx)) THEN goto nextTag
Next
high PortB.4
PAUSE 1000
LOW PortB.4
PAUSE 1000
GOTO Main
nextTag:
I think!
Steve Earl www.datageo.co.uk
Ok ....
Food for thought... I got to get kit ready for tomorrow...Off to Newcastle .. change from Scunny.
Queen Anne looking like November turn on.... Bonfire Night !!!
Thanks for help
Bookmarks