Re: Presets programming with Uno2 Control Centre


Jack Fenton
 
Edited

Well the LED can only be on or off, so I recommend you make it a trigger and increment each time you push

VAR  $triggerclickstate = 0

TRIGGER_CLICK Rec_OVR_Play = 
{
$triggerclickstate ++
if  ($triggerclickstate > 2 
    {
    $triggerclick = 0
    }

Of course the above sends 0, 1 or 2 however you can change that  to any value with a case statement. The below will go between 0, 25 and 32.

switch ($triggerstate)
    {
        case 0:
            $triggerstate = 25
            break
        case 25:
            $triggerstate= 32
            break
        case 32:
            $triggerstate =0
            break
        default
            break
}

Join uno@fcb1010.groups.io to automatically receive all group messages.