Rgbw and RGB neopixel combined coding

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Junaish
 
Posts: 1
Joined: Sun Dec 05, 2021 6:41 am

Rgbw and RGB neopixel combined coding

Post by Junaish »

Hi,

I am trying to make a guantlet with 5 flora smart RGB and 1 (7 led) jewel rgbw. But I am confused with regards to coding this..I am looking to have small flicker effect and then each led staying constant on certain colors using a button.is it possible to combine coding for two types of neopixels like this?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Rgbw and RGB neopixel combined coding

Post by adafruit_support_bill »

The best way would be to wire them as two separate strands - controlled by two different pins. Define one as RGB and the other as RGBW and the library will take care of the rest.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”