Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

mag card reader

mag card reader

2006-02-10 by G B

Hello,

With the mag card reader I am using, You  have a strobe that
tells you something is about to happen, then a clock and a
data pin for the transfer.

The clock depends on the speed the card is swiped.  Even if
you have a motorized version, the speed is not that predictable.

Upon the attention strobe I set up the ints for detecting the
clock pulses for each channel.  I had to reprogram the int direction
flag each transition (low-to-high then switch to high-to-low) int
so I could get both states.

The fun comes in when you write code to detect swipes in both
directions (data comes in backwards)!

Glen

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.