eventually you may add 1 sec sleep also before of the break statements or before the send_sms.
By the way, if you operate the switches by hand, could it be the case that you don't apply constant pressure once the switch is HIGH, thus triggering change/event? But I don't know if my question makes sense at all :-)
By the way, if you operate the switches by hand, could it be the case that you don't apply constant pressure once the switch is HIGH, thus triggering change/event? But I don't know if my question makes sense at all :-)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs