The LD1 on the STM8S-DISCOVERY kit is used as a light source. Its brightness, fade-in/out times, etc., as defined by the DALI standard, can be controlled through DALI to simulate a normal lamp ...