PIR trigger time?
hotrod
Posts: 14
How can you program the PIR sensor to trigger longer than a few seconds? I am trying to make the PIR run a code that drives a stepper, but the way I have the "IFTHEN" statement the motor only runs when the PIR is triggered. I know that the PIR is only supposed to send a HIGH signal when it is triggered, that is why the "IFTHEN" statement does not work.........
How can you program the Bs2 to run a command when the PIR HIGH signaled is no longer sensed after it has been triggered?
here is a pseudo code:
-Look for PIR
-If, PIR tripped
-THEN flash LED for 10min
How can you program the Bs2 to run a command when the PIR HIGH signaled is no longer sensed after it has been triggered?
here is a pseudo code:
-Look for PIR
-If, PIR tripped
-THEN flash LED for 10min
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen