Quote Originally Posted by Darrel Taylor View Post
If you wanted to set all LED's to the same brightness, you could ...
Code:
LoopCount  VAR BYTE

FOR LoopCount = 0 to 15         ; 16 channels
    DutyVars(LoopCount) = 50    ; 50% (0-100)
NEXT LoopCount
<br>
Hi Darrel,
could you please explain DutyVars(LoopCount) = 50 ; 50% (0-100), I understand the counter loop but do not understand the operation here. Thank You
JS