Go Down

Topic: Need help with led code (Read 334 times) previous topic - next topic

ZeroTwo02

so hi im trying to set my leds to only one color but i can't find any codes that can do that i want to know if someone has a code for it

AWOL

so hi im trying to set my leds to only one color but i can't find any codes that can do that i want to know if someone has a code for it
You're kidding, right?

ZeroTwo02

no im not kidding im learning to code so i don't know most of the times what to do

AWOL

Stop.
Think


Q. What do we know about your LEDs?
A. Nothing.

Now, back to you.

ZeroTwo02

so my led strip is ws2812b and my Arduino is arduino nano

Paul__B

Have you researched the Adafruit tutorials on NeoPixels?

Grumpy_Mike

Have you looked at the example code that comes with the libiary you are using?

ZeroTwo02

no i don't know most of the stuff they say

AWOL

Why don't you try the simplest example there is, see what it does, and if it lights your LEDs?

That way, hopefully, you'll start to see what does what, and you'll learn something.

Grumpy_Mike

no i don't know most of the stuff they say
I am not sure what sort of help you are expecting then.
For sure there is no point in doing something for you because what ever we do you won't be able to understand it.

So your choices seem to be either start to try and understand stuff, and we can help you to do that, or give up on this hobby because it is not for you.

Go Up