I have solved the problem using FastLED. The show() method of the FastLED library simultaneously updates LED strips attached to multiple GPIOs, displaying the updated results.
It's a common expression in programming, it executes the code that's inside of the "for loop", with each iteration increasing a by 1. First set A=0 and code executes with that value, then it sets A to be A+1 (0+1) and executes the code again, and so on, until it reaches the max value allowed for A, like 3 here, since the for loop defines that A
@@Anilkumar-co9hl If you are using an Uno or a Nano,, it will not have enough memory to support all those objects at that size. Try setting your LED Count to,, like,, 12 and see if all the strips light up.
@@brakthehun Yes, you are correct. However, the 'show' function is busy-waiting for too long. Strip 2 is displayed significantly after 'strip 1' is printed. 'Strip 1' and 'Strip 2' will not show the same results at the same time.