Comments (7)
With the example MagStripeReader.ino
sketch? Does the error LED blink?
If it does, then the card isn't being read properly (no serial output in this case). Otherwise, check if you have the correct rate set in the serial monitor (9600 bps).
from magstripelib.
The orange light is being turned off and remains off upon card insertion
and turns back on when it's removed , is that what you mean ?
On Thursday, July 2, 2015, Carlos Rodrigues [email protected]
wrote:
With the example MagStripeReader.ino sketch? Does the error LED blink?
If it does, then the card isn't being read properly (no serial output in
this case). Otherwise, check if you have the correct rate set in the serial
monitor (9600 bps).—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from magstripelib.
The example sketch uses two LEDs: one to show that a card is being read (ON when swiping a card, OFF otherwise) and another that blinks briefly if the swiped data cannot be decoded (the error LED).
The sketch uses pin 13 for the read LED. I'm assuming your "orange light" is this one. And from that it looks that your reader uses the "card present" (CLS) line to indicate a fully inserted card instead of a card being swiped. This library doesn't support this type of readers.
from magstripelib.
panasonic zu-1870ma6t2 is the reader im using
On Thu, Jul 2, 2015 at 9:03 AM, Carlos Rodrigues [email protected]
wrote:
The example sketch uses two LEDs: one to show that a card is being read
(ON when swiping a card, OFF otherwise) and another that blinks briefly if
the swiped data cannot be decoded (the error LED).The sketch uses pin 13 for the read LED. I'm assuming your "orange light"
is this one. And from that it looks that your reader uses the "card
present" (CLS) line to indicate a fully inserted card instead of a card
being swiped. This library doesn't support this type of readers.—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from magstripelib.
and it uses the cld line
On Thu, Jul 2, 2015 at 9:26 AM, Andrew feder [email protected] wrote:
panasonic zu-1870ma6t2 is the reader im using
On Thu, Jul 2, 2015 at 9:03 AM, Carlos Rodrigues <[email protected]
wrote:
The example sketch uses two LEDs: one to show that a card is being read
(ON when swiping a card, OFF otherwise) and another that blinks briefly if
the swiped data cannot be decoded (the error LED).The sketch uses pin 13 for the read LED. I'm assuming your "orange light"
is this one. And from that it looks that your reader uses the "card
present" (CLS) line to indicate a fully inserted card instead of a card
being swiped. This library doesn't support this type of readers.—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from magstripelib.
The datasheet says the CLD line is basically a switch indicating the card is fully inserted. The way the library works internally means this requires some modifications. These shouldn't be too difficult, the tricky part is integrating them with existing behavior.
You're welcome to fork the code and implement the necessary changes.
from magstripelib.
is the source code available ?
On Thu, Jul 2, 2015 at 10:23 AM, Carlos Rodrigues [email protected]
wrote:
—
Reply to this email directly or view it on GitHub
#1 (comment).
from magstripelib.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magstripelib.