
position home noslew to 0
move to 0

define position s1 = 255,0,0
define position s2 = 255,255,0
define position s3 = 255,255,255
define position s4 = 0,255,255
define position s5 = 0,0,255
define position s6 = 0,0,0

repeat 3

    # blue fade to RGB Driver at address 1
    colour blue fade 3 to 1
    transfer to 1

    # send postion s1 with slew rate of 1 to address 0
    position s1 slew 1 to 0
    # send move command to address 0; 
    move to 0
pause 1

    colour red fade 3 to 1
    transfer to 1
    
    position s2 slew 1 to 0
    move to 0
pause 1

    colour green fade 3 to 1
    transfer to 1

    position s3 slew 1 to 0
    move to 0
pause 1

next

repeat 3

    # blue fade to RGB Driver at address 1
    colour blue fade 3 to 1
    transfer to 1

    # send postion s1 with slew rate of 1 to address 0
    position s4 slew 1 to 0
    # send move command to address 0; 
    move to 0
pause 1

    colour red fade 3 to 1
    transfer to 1
    
    position s1 slew 1 to 0
    move to 0
pause 1

    colour green fade 3 to 1
    transfer to 1

    position s3 slew 1 to 0
    move to 0
pause 1

position home noslew to 0
move to 0



next