DALI
This category contains functions, that are used for DALI interface communication.
- Overview
- Arguments
- Return
- Example
Transmits Dali command to specified address.
api.daliTransaction(comm, addr, isdir)
- comm (integer) - Dali command
- addr (integer, optional) - Address
- isdir (integer, optional) - 1 if message is direct, 0 if not
- answer (integer) -
Nil
or non-zero if an answer has been received from Dali device (when non direct transmission is used)
-- initialize Dali device
ans = api.daliTransaction(0xA500)