Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Was wondering how you I would go about timing a combination of buttons to trigger an interupt. 3 buttons in a combination like (1,2,1,2,3) in less than 2 seconds would interupt for example. THANKS!
What i would do is put the sequence you are looking for in an array. Start at the first entry. On the next input, if correct, advance to the next entry and if it is wrong, got back to the first entry. When you reach the last entry, call the routine that does what you want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.