Question about led strip (shift)

Hello.I have a led strip 0.5m (5V) and an arduino uno.I want to shift the color pixel by pixel to the right or left.
How can I do that?
I checked here ,but in this link has a led strip for 3 pin ,but I have 4 pins( R , G , B , VCC).
Any ideas?
Thanks. :slight_smile:

You can't with that type of LED strip. Sorry.

You can only shift the output buffer, and then do an update on the strip.

aarg:
You can only shift the output buffer, and then do an update on the strip.

The OP appears to not have a strip with individually addressable LEDs, but instead a tri-color LED strip with wiring for Red, Green, and Blue common to all LEDs.

So, can I do it or not?

You need a strip with addressable LEDs (WS2812B for example) where you send data to each LED unit on the strip.
Each LED needs 3 bytes of data (one each for Red, Green, Blue) and multiply by the number of LEDs in the strip.

Non-addressable strips have all LEDs in parallel, usually groups of 3 LEDs and current limit resistor, with multiple groups in parallel, so the entire strip is controlled at once.

So, can I do it or not?

See replyt #1