Curious question. Subject :- Reverse data extractor of led (data line) Complexity of Record

Curious question.
Subject :- Reverse data extractor of led (data line)

Complexity of Record data line in buffer to get number of led & pattern ?

Not sure I understand your question. Can you further explain what you are looking for?

I’m guessing you’re trying to find the colour of the LED. It’s available in the LED array that you created. You can simply read the array to see which colour is on the LED