Giter Site home page Giter Site logo

Comments (3)

zooyn avatar zooyn commented on July 21, 2024

Im having the same issue except that my goal is to display both tracks 1+2 consistently after every press of the button. Does anybody know how what configurations I should do with the source code?

I think it has something to do with this part of the code:

void loop()
{

//for(int i=0;i<10;i++){playTrack(1+(curTrack++%2));delay(3000);}

sleep();

noInterrupts();
while (digitalRead(BUTTON_PIN) == LOW);
playTrack(1 + (curTrack++ % 2));
delay(50);
while (digitalRead(BUTTON_PIN) == LOW);
playTrack(1 + (curTrack++ % 2));
delay(400);

interrupts();
//playTrack(1 + (curTrack++ % 2));
}

but I dont know how to modify it into displaying 2 tracks at once consistently

Any help will be much appreciated

from magspoof.

Immrspy avatar Immrspy commented on July 21, 2024

Samy has stated that this is WAI in #31 , If you want to just run both at the same time, set the main loop to say "playTrack(1);", then it will do the run 1 forward and 2 backwards scheme.

from magspoof.

roboyaar avatar roboyaar commented on July 21, 2024

Samy has stated that this is WAI in #31 , If you want to just run both at the same time, set the main loop to say "playTrack(1);", then it will do the run 1 forward and 2 backwards scheme.

how should i change the code for cards which have only second line on them?
would you pls help me?

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.