Coder Social home page Coder Social logo

Comments (5)

samyk avatar samyk commented on July 23, 2024 1

Correct.

from magspoof.

samyk avatar samyk commented on July 23, 2024

What did you define as track 1 and what as track 2?

from magspoof.

samyk avatar samyk commented on July 23, 2024

Ah, I forgot about this https://github.com/samyk/magspoof/blob/master/magspoof.c#L148

When first playing the track, it will play both tracks, one after the other, attempting to fill both PoS' tracks buffers "separately"...this has always worked in my tests and allows playing two tracks "simultaneously" and having the PoS actually differentiate between them.

The 2nd button press only plays track 2, then it loops. You can adjust this in the main loop if you want to always playTrack(1) which will always (confusingly) play both tracks.

from magspoof.

jLynx avatar jLynx commented on July 23, 2024

Hi Samy
So what you are saying makes sense, now just confirming.
So 1 button press runs both tracks "at the same time". Which should work fine for most PoS terminals.
The 2nd button press is like a backup in case the PoS couldn't read track 2, so it plays it again?

Then after that 2nd button press, the code restarts and plays the first track again when pressed(3rd press), etc etc etc

Would this be correct?

from magspoof.

roboyaar avatar roboyaar commented on July 23, 2024

hi sir
would you please guide me that on what amount did you set the fuse bit during the programming?

from magspoof.

Related Issues (20)

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.