Xlights arduino code

Discussion in 'The Development Lab' started by Uskompuf, Dec 22, 2017.

  1. Uskompuf

    Uskompuf New Elf

    Joined:
    Oct 6, 2017
    Messages:
    6
    Likes Received:
    0
    This is my first year messing around with Christmas light controlling. I have a arduino uno running a 6 channel ssr controlling store Christmas lights. I also have a arduino mega controlling 10 metres of ws2812b strip 1 ic per 3 pixels encased in tubing to diffuse the light.

    I was messing around with vixen but like the look of xlights.

    I was wondering if anybody noes some code, or can make some code that would allow me to control my 10 metre strip and 6 channel relay together. I cant seem to get any code to work with my strip due to 1 ic per 3 pixels

    Thanks
     
  2. keithsw1111

    keithsw1111 Full Time Elf

    Joined:
    Oct 11, 2012
    Messages:
    368
    Likes Received:
    55
    Location:
    Kellyville, NSW
    Find Me On:
    The number of 5050 leds per ic is irrelevant. Each 3 is considered 1 pixel or node.
     
  3. OP
    OP
    Uskompuf

    Uskompuf New Elf

    Joined:
    Oct 6, 2017
    Messages:
    6
    Likes Received:
    0
    So if I turn pixel one on the first 3 LEDs will light up and if I turn on pixel 2 the next 3 LEDs will turn on
     
  4. keithsw1111

    keithsw1111 Full Time Elf

    Joined:
    Oct 11, 2012
    Messages:
    368
    Likes Received:
    55
    Location:
    Kellyville, NSW
    Find Me On:
    That’s right.
     

Share This Page