Results 1 to 5 of 5

Thread: My background sequence

  1. #1
    Join Date
    May 2007
    Location
    San Dimas, CA
    Posts
    410
    Post Thanks / Like

    Default My background sequence

    Here is my background sequence if anyone is interested. It does a spiril of my light around the yard and spirils my light tree trough its colors. Then reverses the whole motion. It runs continiously when the shows arent running.

    Code:
    void Start() {
    	
    	Off(All);
    	
    	
    	while(true){
    
    	/// Loop Chase on;
    		On(Channels(Window_2),For(500).Milliseconds,Wait);
    		On(Channels(Window_1),For(500).Milliseconds,Wait);
    		On(Channels(Pole_1),For(500).Milliseconds,Wait);
    
    		On(Channels(Icicle_1),For(500).Milliseconds,Wait);
    		On(Channels(Icicle_2),For(500).Milliseconds,Wait);
    		On(Channels(Icicle_3),For(500).Milliseconds,Wait);
    		On(Channels(Icicle_4),For(500).Milliseconds,Wait);
    		On(Channels(Icicle_5),For(500).Milliseconds,Wait);
    		On(Channels(Icicle_6),For(500).Milliseconds,Wait);
    		On(Channels(Icicle_8),For(500).Milliseconds,Wait);
    		On(Channels(Icicle_7),For(500).Milliseconds,Wait);
    
    		On(Channels(CandyCane_6),For(500).Milliseconds,Wait);
    		On(Channels(CandyCane_5),For(500).Milliseconds,Wait);
    		On(Channels(CandyCane_4),For(500).Milliseconds,Wait);
    		On(Channels(CandyCane_3),For(500).Milliseconds,Wait);
    		On(Channels(CandyCane_2),For(500).Milliseconds,Wait);
    		On(Channels(CandyCane_1),For(500).Milliseconds,Wait);
    
    		On(Channels(SpirilTree1_L),For(500).Milliseconds,Wait);
    		On(Channels(SpirilTree1_M),For(500).Milliseconds,Wait);
    		On(Channels(SpirilTree1_S),For(500).Milliseconds,Wait);
    
    		On(Channels(SpirilTree2_S),For(500).Milliseconds,Wait);
    		On(Channels(SpirilTree2_M),For(500).Milliseconds,Wait);
    		On(Channels(SpirilTree2_L),For(500).Milliseconds,Wait);
    
    		On(Channels(Tree_R_1),For(500).Milliseconds,Wait);
    		On(Channels(Tree_R_2),For(500).Milliseconds,Wait);
    		On(Channels(Tree_R_3),For(500).Milliseconds,Wait);
    		On(Channels(Tree_R_4),For(500).Milliseconds,Wait);
    		On(Channels(Tree_R_5),For(500).Milliseconds,Wait);
    		On(Channels(Tree_R_6),For(500).Milliseconds,Wait);
    		On(Channels(Tree_R_7),For(500).Milliseconds,Wait);
    		On(Channels(Tree_R_8),For(500).Milliseconds,Wait);
    
    	/// -----------
    		
    		Off(Channels(Tree_R_1),For(500).Milliseconds);
    		On(Channels(Tree_Y_1),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_R_2),For(500).Milliseconds);
    		On(Channels(Tree_Y_2),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_R_3),For(500).Milliseconds);
    		On(Channels(Tree_Y_3),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_R_4),For(500).Milliseconds);
    		On(Channels(Tree_Y_4),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_R_5),For(500).Milliseconds);
    		On(Channels(Tree_Y_5),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_R_6),For(500).Milliseconds);
    		On(Channels(Tree_Y_6),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_R_7),For(500).Milliseconds);
    		On(Channels(Tree_Y_7),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_R_8),For(500).Milliseconds);
    		On(Channels(Tree_Y_8),For(500).Milliseconds,Wait);
    
    	/// ---------------------
    
    		Off(Channels(Tree_Y_1),For(500).Milliseconds);
    		On(Channels(Tree_B_1),For(500).Milliseconds,Wait);
    		
    		Off(Channels(Tree_Y_2),For(500).Milliseconds);
    		On(Channels(Tree_B_2),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_3),For(500).Milliseconds);
    		On(Channels(Tree_B_3),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_4),For(500).Milliseconds);
    		On(Channels(Tree_B_4),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_5),For(500).Milliseconds);
    		On(Channels(Tree_B_5),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_6),For(500).Milliseconds);
    		On(Channels(Tree_B_6),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_7),For(500).Milliseconds);
    		On(Channels(Tree_B_7),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_8),For(500).Milliseconds);
    		On(Channels(Tree_B_8),For(5000).Milliseconds,Wait);
    
    
    
    	/// Loop Chase Off
    		Off(Channels(Tree_B_8),For(500).Milliseconds);
    		On(Channels(Tree_Y_8),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_B_7),For(500).Milliseconds);
    		On(Channels(Tree_Y_7),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_B_6),For(500).Milliseconds);
    		On(Channels(Tree_Y_6),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_B_5),For(500).Milliseconds);
    		On(Channels(Tree_Y_5),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_B_4),For(500).Milliseconds);
    		On(Channels(Tree_Y_4),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_B_3),For(500).Milliseconds);
    		On(Channels(Tree_Y_3),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_B_2),For(500).Milliseconds);
    		On(Channels(Tree_Y_2),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_B_1),For(500).Milliseconds);
    		On(Channels(Tree_Y_1),For(500).Milliseconds,Wait);
    
    	/// ----------
    		Off(Channels(Tree_Y_8),For(500).Milliseconds);
    		On(Channels(Tree_R_8),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_7),For(500).Milliseconds);
    		On(Channels(Tree_R_7),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_6),For(500).Milliseconds);
    		On(Channels(Tree_R_6),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_5),For(500).Milliseconds);
    		On(Channels(Tree_R_5),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_4),For(500).Milliseconds);
    		On(Channels(Tree_R_4),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_3),For(500).Milliseconds);
    		On(Channels(Tree_R_3),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_2),For(500).Milliseconds);
    		On(Channels(Tree_R_2),For(500).Milliseconds,Wait);
    
    		Off(Channels(Tree_Y_1),For(500).Milliseconds);
    		On(Channels(Tree_R_1),For(500).Milliseconds,Wait);
    
    	/// -----------
    
    		Off(Channels(Tree_R_8),For(500).Milliseconds,Wait);
    		Off(Channels(Tree_R_7),For(500).Milliseconds,Wait);
    		Off(Channels(Tree_R_6),For(500).Milliseconds,Wait);
    		Off(Channels(Tree_R_5),For(500).Milliseconds,Wait);
    		Off(Channels(Tree_R_4),For(500).Milliseconds,Wait);
    		Off(Channels(Tree_R_3),For(500).Milliseconds,Wait);
    		Off(Channels(Tree_R_2),For(500).Milliseconds,Wait);
    		Off(Channels(Tree_R_1),For(500).Milliseconds,Wait);
    
    		Off(Channels(SpirilTree2_L),For(500).Milliseconds,Wait);
    		Off(Channels(SpirilTree2_M),For(500).Milliseconds,Wait);
    		Off(Channels(SpirilTree2_S),For(500).Milliseconds,Wait);
    
    		Off(Channels(SpirilTree1_S),For(500).Milliseconds,Wait);
    		Off(Channels(SpirilTree1_M),For(500).Milliseconds,Wait);
    		Off(Channels(SpirilTree1_L),For(500).Milliseconds,Wait);
    
    		Off(Channels(CandyCane_1),For(500).Milliseconds,Wait);
    		Off(Channels(CandyCane_2),For(500).Milliseconds,Wait);
    		Off(Channels(CandyCane_3),For(500).Milliseconds,Wait);
    		Off(Channels(CandyCane_4),For(500).Milliseconds,Wait);
    		Off(Channels(CandyCane_5),For(500).Milliseconds,Wait);
    		Off(Channels(CandyCane_6),For(500).Milliseconds,Wait);
    
    		Off(Channels(Icicle_1),For(500).Milliseconds,Wait);
    		Off(Channels(Icicle_2),For(500).Milliseconds,Wait);
    		Off(Channels(Icicle_3),For(500).Milliseconds,Wait);
    		Off(Channels(Icicle_4),For(500).Milliseconds,Wait);
    		Off(Channels(Icicle_5),For(500).Milliseconds,Wait);
    		Off(Channels(Icicle_6),For(500).Milliseconds,Wait);
    		Off(Channels(Icicle_8),For(500).Milliseconds,Wait);
    		Off(Channels(Icicle_7),For(500).Milliseconds,Wait);
    
    		Off(Channels(Pole_1),For(500).Milliseconds,Wait);
    		Off(Channels(Window_1),For(500).Milliseconds,Wait);
    		Off(Channels(Window_2),For(500).Milliseconds,Wait);
    
    
    	continue;
    	
    	WaitOnTimers();
    }
    	Off(All);
    }
    Truth is a three edged sword....
    Embassador Kash Vorlon Empire


    http://www.tgconley.com

  2. #2
    Join Date
    Oct 2007
    Location
    Sydney Australia
    Posts
    494
    Post Thanks / Like

    Default

    looks good thanks for that ill try to rewrite it for mine

    Wombat
    Have a Wombat of a Christmas
    2011 Display Video:[URL]http://www.youtube.com/watch?v=KZCdTP0u5M4[/URL]
    2010 Display Video:[URL] http://www.youtube.com/watch?v=FfxX5WbDxSc[/URL]
    2009 Display Video:[URL]http://photos.newsys.com.au/Christmas/Christmas-Lights-2009/Ipswich-Ave-Glenwood/10767134_Jgf57[/URL]
    2008 Display Video:[url]http://www.youtube.com/watch?v=6wZFp861wbQ[/url]
    2008 WomPanel (LEDTRIX on steroids) [URL]http://www.youtube.com/v/-5L6_TQPKnY[/URL]
    2006 Display Video:[url]http://www.youtube.com/watch?v=_-4cyhEdrHY[/url]

  3. #3
    Join Date
    May 2007
    Location
    Mooresville, NC
    Posts
    7,552
    Post Thanks / Like

    Default

    wow, spent some time on that one! I bet it looks great!
    James Family Christmas - 1600 channels of SS Renard channels
    Website - http://jamesfamilychristmas.com/ <<broken
    Facebook - James Family Christmas


  4. #4
    Join Date
    May 2007
    Location
    San Dimas, CA
    Posts
    410
    Post Thanks / Like

    Default

    It looks nice but just a few small bugs to work out.

    When i on for a time frame they turn back off after i have to ask KC how to change that behavior.
    Truth is a three edged sword....
    Embassador Kash Vorlon Empire


    http://www.tgconley.com

  5. #5
    Join Date
    May 2007
    Location
    San Dimas, CA
    Posts
    410
    Post Thanks / Like

    Default

    Here is an update to my sequence
    Code:
    void Start() {
    	
    	while(true){
    
    	/// Loop Chase on;
    		On(Channels(Window_2));
    		On(Channels(Window_1));
    		On(Channels(Pole_1));
    
    		On(Channels(Icicle_1));
    		On(Channels(Icicle_2));
    		On(Channels(Icicle_3));
    		On(Channels(Icicle_4));
    		On(Channels(Icicle_5));
    		On(Channels(Icicle_6));
    		On(Channels(Icicle_8));
    		On(Channels(Icicle_7));
    
    		On(Channels(CandyCane_6));
    		On(Channels(CandyCane_5));
    		On(Channels(CandyCane_4));
    		On(Channels(CandyCane_3));
    		On(Channels(CandyCane_2));
    		On(Channels(CandyCane_1));
    
    		On(Channels(SpirilTree1_L));
    		On(Channels(SpirilTree1_M));
    		On(Channels(SpirilTree1_S));
    
    		On(Channels(SpirilTree2_S));
    		On(Channels(SpirilTree2_M));
    		On(Channels(SpirilTree2_L));
    
    		On(Channels(Tree_R_1));
    		On(Channels(Tree_R_2));
    		On(Channels(Tree_R_3));
    		On(Channels(Tree_R_4));
    		On(Channels(Tree_R_5));
    		On(Channels(Tree_R_6));
    		On(Channels(Tree_R_7));
    		On(Channels(Tree_R_8));
    
    	/// -----------
    		
    		Off(Channels(Tree_R_1));
    		On(Channels(Tree_Y_1));
    
    		Off(Channels(Tree_R_2));
    		On(Channels(Tree_Y_2));
    
    		Off(Channels(Tree_R_3));
    		On(Channels(Tree_Y_3));
    
    		Off(Channels(Tree_R_4));
    		On(Channels(Tree_Y_4));
    
    		Off(Channels(Tree_R_5));
    		On(Channels(Tree_Y_5));
    
    		Off(Channels(Tree_R_6));
    		On(Channels(Tree_Y_6));
    
    		Off(Channels(Tree_R_7));
    		On(Channels(Tree_Y_7));
    
    		Off(Channels(Tree_R_8));
    		On(Channels(Tree_Y_8));
    
    	/// ---------------------
    
    		Off(Channels(Tree_Y_1));
    		On(Channels(Tree_B_1));
    		
    		Off(Channels(Tree_Y_2));
    		On(Channels(Tree_B_2));
    
    		Off(Channels(Tree_Y_3));
    		On(Channels(Tree_B_3));
    
    		Off(Channels(Tree_Y_4));
    		On(Channels(Tree_B_4));
    
    		Off(Channels(Tree_Y_5));
    		On(Channels(Tree_B_5));
    
    		Off(Channels(Tree_Y_6));
    		On(Channels(Tree_B_6));
    
    		Off(Channels(Tree_Y_7));
    		On(Channels(Tree_B_7));
    
    		Off(Channels(Tree_Y_8));
    		On(Channels(Tree_B_8));
    
    
    
    	/// Loop Chase Off
    		Off(Channels(Tree_B_8));
    		On(Channels(Tree_Y_8));
    
    		Off(Channels(Tree_B_7));
    		On(Channels(Tree_Y_7));
    
    		Off(Channels(Tree_B_6));
    		On(Channels(Tree_Y_6));
    
    		Off(Channels(Tree_B_5));
    		On(Channels(Tree_Y_5));
    
    		Off(Channels(Tree_B_4));
    		On(Channels(Tree_Y_4));
    
    		Off(Channels(Tree_B_3));
    		On(Channels(Tree_Y_3));
    
    		Off(Channels(Tree_B_2));
    		On(Channels(Tree_Y_2));
    
    		Off(Channels(Tree_B_1));
    		On(Channels(Tree_Y_1));
    
    	/// ----------
    		Off(Channels(Tree_Y_8));
    		On(Channels(Tree_R_8));
    
    		Off(Channels(Tree_Y_7));
    		On(Channels(Tree_R_7));
    
    		Off(Channels(Tree_Y_6));
    		On(Channels(Tree_R_6));
    
    		Off(Channels(Tree_Y_5));
    		On(Channels(Tree_R_5));
    
    		Off(Channels(Tree_Y_4));
    		On(Channels(Tree_R_4));
    
    		Off(Channels(Tree_Y_3));
    		On(Channels(Tree_R_3));
    
    		Off(Channels(Tree_Y_2));
    		On(Channels(Tree_R_2));
    
    		Off(Channels(Tree_Y_1));
    		On(Channels(Tree_R_1));
    
    	/// -----------
    
    		Off(Channels(Tree_R_8));
    		Off(Channels(Tree_R_7));
    		Off(Channels(Tree_R_6));
    		Off(Channels(Tree_R_5));
    		Off(Channels(Tree_R_4));
    		Off(Channels(Tree_R_3));
    		Off(Channels(Tree_R_2));
    		Off(Channels(Tree_R_1));
    
    		Off(Channels(SpirilTree2_L));
    		Off(Channels(SpirilTree2_M));
    		Off(Channels(SpirilTree2_S));
    
    		Off(Channels(SpirilTree1_S));
    		Off(Channels(SpirilTree1_M));
    		Off(Channels(SpirilTree1_L));
    
    		Off(Channels(CandyCane_1));
    		Off(Channels(CandyCane_2));
    		Off(Channels(CandyCane_3));
    		Off(Channels(CandyCane_4));
    		Off(Channels(CandyCane_5));
    		Off(Channels(CandyCane_6));
    
    		Off(Channels(Icicle_1));
    		Off(Channels(Icicle_2));
    		Off(Channels(Icicle_3));
    		Off(Channels(Icicle_4));
    		Off(Channels(Icicle_5));
    		Off(Channels(Icicle_6));
    		Off(Channels(Icicle_8));
    		Off(Channels(Icicle_7));
    
    		Off(Channels(Pole_1));
    		Off(Channels(Window_1));
    		Off(Channels(Window_2),Wait);
    		
    		
    	/// Loop Chase on --- 2;
    		On(Channels(Window_2));
    		On(Channels(Window_1));
    		On(Channels(Pole_1));
    
    		On(Channels(Icicle_1));
    		On(Channels(Icicle_2));
    		On(Channels(Icicle_3));
    		On(Channels(Icicle_4));
    		On(Channels(Icicle_5));
    		On(Channels(Icicle_6));
    		On(Channels(Icicle_8));
    		On(Channels(Icicle_7));
    
    		On(Channels(CandyCane_6));
    		On(Channels(CandyCane_5));
    		On(Channels(CandyCane_4));
    		On(Channels(CandyCane_3));
    		On(Channels(CandyCane_2));
    		On(Channels(CandyCane_1));
    
    		On(Channels(SpirilTree1_L));
    		On(Channels(SpirilTree1_M));
    		On(Channels(SpirilTree1_S));
    
    		On(Channels(SpirilTree2_S));
    		On(Channels(SpirilTree2_M));
    		On(Channels(SpirilTree2_L));
    
    		On(Channels(Tree_R_1));
    		On(Channels(Tree_R_2));
    		On(Channels(Tree_R_3));
    		On(Channels(Tree_R_4));
    		On(Channels(Tree_R_5));
    		On(Channels(Tree_R_6));
    		On(Channels(Tree_R_7));
    		On(Channels(Tree_R_8));
    
    	/// -----------
    		
    		Off(Channels(Tree_R_1));
    		On(Channels(Tree_Y_1));
    
    		Off(Channels(Tree_R_2));
    		On(Channels(Tree_Y_2));
    
    		Off(Channels(Tree_R_3));
    		On(Channels(Tree_Y_3));
    
    		Off(Channels(Tree_R_4));
    		On(Channels(Tree_Y_4));
    
    		Off(Channels(Tree_R_5));
    		On(Channels(Tree_Y_5));
    
    		Off(Channels(Tree_R_6));
    		On(Channels(Tree_Y_6));
    
    		Off(Channels(Tree_R_7));
    		On(Channels(Tree_Y_7));
    
    		Off(Channels(Tree_R_8));
    		On(Channels(Tree_Y_8));
    
    	/// ---------------------
    
    		Off(Channels(Tree_Y_1));
    		On(Channels(Tree_B_1));
    		
    		Off(Channels(Tree_Y_2));
    		On(Channels(Tree_B_2));
    
    		Off(Channels(Tree_Y_3));
    		On(Channels(Tree_B_3));
    
    		Off(Channels(Tree_Y_4));
    		On(Channels(Tree_B_4));
    
    		Off(Channels(Tree_Y_5));
    		On(Channels(Tree_B_5));
    
    		Off(Channels(Tree_Y_6));
    		On(Channels(Tree_B_6));
    
    		Off(Channels(Tree_Y_7));
    		On(Channels(Tree_B_7));
    
    		Off(Channels(Tree_Y_8));
    		On(Channels(Tree_B_8));
    
    
    
    		
    		
    
    
    	continue;
    	
    	///WaitOnTimers();
    }
    	///Off(All);
    }
    Truth is a three edged sword....
    Embassador Kash Vorlon Empire


    http://www.tgconley.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •