Good idea. I answered the question you asked. I wondered if you were being deliberately obtuse and gave you the benefit of the doubt.
Write your own demos is the answer to your actual question.
Use only the three necessary low level calls, all three available in some form in both libraries.
-
initialize the strip
-
set an LED to a color
-
move the current strip values to the physical strip
Perhaps a fourth can be convenient even if theoretically unnecessary:
- get the color of an LED
I wrote functions that do those by calling through to whatever library I happen to need or want to use. It makes switching libraries or strip type simpler at the expense of going without any advanced features the libraries may provide.
I understand my answer was of no value to you, but it might be to someone else.
Same with this answer.
FWIW most demos and a fair percentage of smart pixel code is bad, not so much in that it doesn’t work but because it is not written with learning or using as a point of departure as even a secondary goal.
So do yes write some that you think will be better!
a7