Am I seriously only up this late because I'm struggling with some code I don't understand? No fair. Where my coding folks at? I'm just trying to get this Arduino project to only listen to something for a short period of time. I know imma need some millis() in my life, but I'm not sure how to use it to my advantage in this case. At least I broke it down to exactly what I need to tell it to do? I just don't know how to speak to this lil' robit, I don't have a broad enough vocab in it's language.
[In case you actually happen to be wanting to help me, what I've got right now is that knock lock project in the starter kit - but I'm working to make it more complicated in that firstofallitactuallyworks (cuz the project in the book is off by a lil bit) and secondly, it only accepts the correct number of knocks, as opposed to it's current design where it will unlock when it hears the specified number of knocks, no matter how much time it takes you to knock them. (ie: if you try 3, then try 4, it will still register 7 knocks. I don't want that.) I've looked at a couple of instructables, but they got rhythms and shit, I don't need that, just a number. I'm mad cuz I know this is hella simple, but I don't know how to find the answer without just trying a bunch of shit, and I think I might just be too tired for that right now...thanks in advance if you're rad and decide to help me out]