Hi,
Little snippet I got working, please suggest improvements . Hope it is helpfull to someone.
I need to have one switch have a second function, and that is to reset something. SO I need to have that button held down for 3 seconds to then register a reset or high (can then be associated to an output pin). I have a led in to show that the high has been sent, also handy to put next to the button to show the operator that the reset has been sent! It will then go back and wait for another reset. I am using an 18M2. I have a LED on B.2.
Little snippet I got working, please suggest improvements . Hope it is helpfull to someone.
I need to have one switch have a second function, and that is to reset something. SO I need to have that button held down for 3 seconds to then register a reset or high (can then be associated to an output pin). I have a led in to show that the high has been sent, also handy to put next to the button to show the operator that the reset has been sent! It will then go back and wait for another reset. I am using an 18M2. I have a LED on B.2.
Attachments
-
562 bytes Views: 91
Last edited: