Hi,
Does anyone know of a way to do Bitmasking with a Global Variable in an Event. I am trying to simplfy how I do home presence updates, and I want to do something like:
Then I could check every few minutes to see if the HomeIndicator is Clear
Thanks,
Lou
Does anyone know of a way to do Bitmasking with a Global Variable in an Event. I am trying to simplfy how I do home presence updates, and I want to do something like:
Every Two Minutes
If Person_A is Home
Home Indicator = HomeIndicator LOGICAL_OR Person_A_Home_Mask (00100)
If Person_A is Away
Home Indicator = HomeIndicator LOGICAL_AND Person_A_Away_Mask (11011)
etc...
Then I could check every few minutes to see if the HomeIndicator is Clear
Thanks,
Lou
Comment