Giter VIP home page Giter VIP logo

Comments (3)

richteel avatar richteel commented on May 31, 2024 2

Thanks @MonsieurV & @carlosefr, I added a new blog post with the changes I made to the code. In the blog I go over the changes I made and why I made the changes. I at the end, I state that anyone needing to read from a single card reader should use the magstripelib and why but if they need read from more than one reader they may want to look at the code I posted. @carlosefr , your work on this library made it very easy to make changes and modify the code for my needs. If I did not come across this, I may have trashed the card readers. Now they will sit on my completed projects shelf until there is a want to read a card. ;-)

from magstripelib.

MonsieurV avatar MonsieurV commented on May 31, 2024

Hi,

Concerning the issue you encountered, maybe using the input mode INPUT_PULLUP (for the two pins used with interrupt) will fix the issue (without requiring to add an external capacitor)?
See:

PS. Great blog post @richteel ; and great library @carlosefr :)

from magstripelib.

carlosefr avatar carlosefr commented on May 31, 2024

Thanks. 🙂

@richteel WRT having an interrupt attached to the data line (as you mention in your blog post), the reason for this is to avoid spending too much time inside the clock interrupt hander. Reading the data pin from there in a compatible way (i.e. using digitalRead() instead of the port registers) would be rather expensive.

from magstripelib.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.