Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

led sequence running with if statement #32

Open
Tezzatron81 opened this issue Mar 24, 2022 · 0 comments
Open

led sequence running with if statement #32

Tezzatron81 opened this issue Mar 24, 2022 · 0 comments

Comments

@Tezzatron81
Copy link

basically i have a sketch with 5 leds and 9 button pushes. each push has a different effect and was wondering how to use the sequence in the example inside my sketch..
here is a small piece of it. ive used the functions as in the example but they dont seem to light up
if (count == 4) {player.playSpecified(5);
fadeon();
}

if (count == 5) {player.playSpecified(3);
                combo();
}

if (count == 6) {player.playSpecified(6);
               chase();
                                
               breathe2();                 
         
               
}

if (count == 7) { player.playSpecified(8);
                   fadeoff(); 
}

if (count == 8) { player.playSpecified(4);
    powerUp();
}

if (count == 9 ) {


}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant