Hello everyone, I’m almost there I just need help swapping around some code so I can add Ken’s Police lights to the code and change some colors around on the other strips like a fade up to Blue stay on for a minute and then fade to black, the other strip I need to figure out how to change the colors I have tried playing with this code but failed badly. Please help Thanks.
Here is a video of what I have now.
@Anx_Xna Do you have a link to the current code?
Here’s the two I want to combine
@Anx_Xna is it powered by arduino? Am after similar thing but in python.Cheers
I’m not sure I can make it for a Nano in Python?
Hi @Anx_Xna - First, my code you have listed is the old broken code of mine. It should be:
As per your “3 data pins used” sketch, that code is written with the Adafruit NeoPixel library. To use it with my code, you need to rewrite that sketch using the FastLED library. Where you see: setPixelColor(i, Color1); it should be leds[i]=Color1; ( but you have to use the FastLED code for colors). Where you see show(); it should be FastLED.show(); The Wheel function in the Adafruit NeoPixel library can replaced (I think) by the fill_rainbow function. You need to make those types of changes for the whole sketch before you can merge it with my sketch.
FYI, you might want to look at the following from Adafruit:
to learn about multi-tasking.
@Anx_Xna nah, I don’t think you can… I’m just thinking of running code for leds attached to raspberry pi, that’s all. Thank you anyway
I must have posted the wrong code I will up load the good one.
I wish I could fix the code but I do not understand it that’s why I was asking for help, I’m a newbie at this, I can swap out some stuff and play with the code but rewriting it most likely it will never work right, I would be willing to pay some one to do it?
I got some stuff figured out I just need to know where I can change the speed of the lights moving and where to change the colors from Random to what I want.
Thanks.
Oh and how to add 2 or 3 dots going round instead of 1 on pin 3.