Hi, thanks for the reply.
I need three things to happen when a toggle switch on pin #2 closes and opens:
- Produce TWO "high" pulses lasting 1 second each on pin #12.
- Delay ONE second.
- Produce ONE "high" pulse lasting 1 second on pin#13.
All three in that order, with one toggle of a switch, so, It will happen every time the switch is ON and every time the switch is OFF.
As previously said, I have tried the "Edge detector sketch" and modified some variable, but it did not work.
Thank you! cc