So I am trying to use the HOLD key code to act like a switch in my code.
For example, imagine I have two bulks of code: bulk1 and bulk2. I want to be able to use the # key on my 3x4 keypad to act like a switch between either bulk1 or bulk2 being the 'active' code, instead of using a separate push button.
"Without any holding of keys bulk1 code is 'actiive', if the # key on the keypad has been held for 5 seconds run bulk 2, if the # key is held for another 5 seconds go back to bulk1".
Sorry if my idea sounds crude but it makes sense in my head, I just cant find any examples of the HOLD key being used very extensively.
Thanks and please be kind haha.