|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: [ECS] 4.1.008 BETA upload Scott Danks Tue, 07 Sep 1999 15:53:04 -0500 |
Tue, 07 Sep 1999 15:53:04 -0500
Mark;
Couple of questions:
Over the weekend, I wired the doors to the interface card that I have, and using the
port I/O calls, I was able to setup an event that shows me when the doors are closed
and locked.
Under State-Holder, would it be too much to add Locked/Unlocked? Or is this something
I can do with the custom definitions?
Also, is there a function that will allow you to do logical and/or functions on a variable?
Something like:
Do door var and 8
This would set a flag if the variable contained a 1 in the 8's place.
As it is now, I am using several lines like:
Do Door var Set Interface 1 a
BEGINIF door var Is GE 8
then Front Door Set Closed
Do door var subtract 8
ENDIF
Else Front Door Set Open
BEGINIF door var Is GE 4
then Front Deadbolt Set Closed
Do door var Subtract 4
ENDIF
Else Front Deadbolt Set Open
Or if anyone else is doing the same type of thing, Let me know....
Scott.
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects