Notifications
Clear all

channelValues

3 Posts
2 Users
0 Reactions
2,368 Views
Posts: 577
Topic starter
(@photovor)
Honorable Member
Joined: 19 years ago
[#5858]

I was wondering if someone can expand on the channelValues as in:
C#: void Event( byte[] channelValues)

Does anyone have a description of what channelValues actually holds?


2 Replies
Posts: 577
Topic starter
(@photovor)
Honorable Member
Joined: 19 years ago

I think I may have gotten it-

channelValues returns the brightness, 0-255, correct?


Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
Photovor wrote:I think I may have gotten it-

channelValues returns the brightness, 0-255, correct?

Yes you are passed an array of the channels assigned to the plug-in.
If your end device requires dimming then you work with the full range, if it is on/off then you just look for non zero values.

Tony M.


Reply
Share: