November 22, 2024, 02:27:08 PM

News:

Got VSA?  Want to use your Prop-SX?  Now you can!  See the VSA section of the Library forum for Prop-SX code that works with VSA.


PIR Sensor questions

Started by steveo, August 20, 2007, 07:05:52 AM

Previous topic - Next topic

JonnyMac

You can't use this line:

  IF PIR < 500 THEN Main

because that will always be true -- PIR is a digital input and can only hold the values 0 and 1.  Now, if you meant this:

  IF timer < 500 THEN Main

then you're cool.

Jon McPhalen
EFX-TEK Hollywood Office

tj

your right, thats what i had. I've tried serveral ways, but with this it works for a while like 7-8 min  Then its like it gets used to the surroundings

instead of triggering all the time, it won't trigger at all. if i decrease "timer" to 250 for ex. it triggers constantly. I'll probably

send it back for someone to check, but everything else works flawless. time to order more stuff and keep practicing. ( sound is next )

thanks for your help.