How do I create a code that tracks characters pressed in a given sequence (like a password)?

edited September 2015 in How To...

Hi,

I am working on a project in which nine keys are in play. Each of the keys are connected to a specific sound, which is played when the key is pressed (using minim). But if I want the sketch to be able to track the previously pressed keys to identify if a specific code/password is pressed (keys pressed and released individually but in a specific order), how do I write this?

Answers

Sign In or Register to comment.