Hello, in case anyone is interested I am working on a magnetic card decoder using a PIC. I have a card reader that gives me raw data from track 2 of the card, and I am using ISO7811/2-1985 (BS 7106:Part 2:1989) as my specification for decoding this data. Since the PICLIST has a lot of 'Help, I'm stuck' messages I thought I would shine a little ray of hope with a 'Hey, it's working just fine' message. So far I have spent about 2 hours on it and it looks good. I can see the data on the card, and can detect the start and end markers. I think I might run into problems with the amount of RAM for buffering the data (I am using an '84), but I'll see. I want to read the number off the card, and either display it on an LCD, or send it serially to somewhere (!). Alternatively I could hook up a serial EEPROM, and store one or more card numbers in it and use it as a simple access control system. I am not sure what I shall actually use this for, so at the moment it is just an exercise. More news as it's made. Andy -- --------------------------------------------------------------------- Andrew M Errington Tel: +44 1524 593678 Microcomputer Consultant Fax: +44 1524 844011 The Computer Centre Mobile (Orange): 0976 243931 Lancaster University a.errington@lancaster.ac.uk Lancaster LA1 4YW http://www.lancs.ac.uk/people/cpaame/cpaame.htm --------------------------------------------------------------------- "A dog is not just for Christmas, there may be some left for sandwiches on Boxing Day" - Vladimir Illich Ulyanov 1920