in reply to Re^2: Saving Options
in thread Saving Options
Yes, Each call to togglelight inverses the state. Useful to have a flashing light.
Calling bellon/belloff there are a conditional, so it only executes the block (and send command to receiver) if needed.
These are two ways to send command, with toggle and with pre-determined state. If you want to determine the state of the lights use the bellon/belloff example, only changing bell by light. One will not interfere in other.
We don't have the horn code. Take the horn number, subtract 128, the result will be the hornmask.
|
|---|