HD2000 Looping with motion detector
This script is running on a HD2000 with latest firmware.
The contact closure (gpios) is motion sensor the gives a closure when ever it sees movement in the room.
Currently this file plays when it receives a closure and then restarts when it receives another closure, cutting the file short.
What I need it to do is to play when it receives a contact closure and then play through the whole file and wait for the next contact closure.
VIDEOMODE 1024x768x60p
EVENTS button:0 videoend
STATE 000burrellmain.mpg:gpiosOff() 000burrellmain.mpg
STATE black.jpg:gpiosOn() black.jpg
The gpiosOn() and gpiosOff() don't seem to have any effect. I maybe using the commands in-correctly or in the wrong part of the script.
Comments, Help or suggestions would be greatly appreciated.
thanks
Andrew