you could do it in software, or hook up the relay with the contact that is normally open.
there are some labels that should be on the bottom of your relay
n.c. (normally closed)
and
n.o. (normally open)
then the coil wire contacts
and a
common wire
Edited 1 time(s). Last edit at 01/13/2014 10:24PM by jamesdanielv.