Controlling WS2812b LEDs with atmega88

Hello friends, I'm trying to control a WS2812b LED strip with an atmega88 microcontroller, however the LEDs are white and do not change color, I'm using the example of the neopixel library.

Your post contains no information that we can use to help you.

How many pixels in the strip?

How is the strip powered? What are the specifications of the power supply (Volts, Amps)?

Post the exact code that you ran. There are many Neopixel examples. Read the forum guidelines to see how to properly post code and some good information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

How is the strip connected to the mystery Arduino board? Please post a schematic. Written descriptions are always more ambiguous than a drawing. Hand drawn, photographed and posted is fine. Include all pin namws/numbers, components, their part numbers and/or values and power supplies.

What frequency does your ATmega88 run at? If it uses the built-in generator and the operating frequency is below 8MHz you will not be able to drive the WS2812B. Also share the rest of the info as @groundFungus said.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.