25.03.2023, 07:37
Admin, I apologize for needing your help again. I want to achieve a circular flow control effect for dmx devices (RGB lamp strips) from ch1 to ch512. Each dmx device occupies 4 channels (R/G/B/W). The script needs to implement the following functions:
When the value of the switch address "1/1/1" is true, the circular control function of the light strip is activated, such as turning off the first light strip immediately after it turns red, and turning off the second light strip again after it turns red... The cycle starts from the first lamp strip until the last lamp strip turns red. When the value of the switch address "1/1/1" is false, the cycle function is stopped.
How to implement it with scripts?
When the value of the switch address "1/1/1" is true, the circular control function of the light strip is activated, such as turning off the first light strip immediately after it turns red, and turning off the second light strip again after it turns red... The cycle starts from the first lamp strip until the last lamp strip turns red. When the value of the switch address "1/1/1" is false, the cycle function is stopped.
How to implement it with scripts?