Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4941

General programming discussion • Re: 24 Minute Sun Simulation

$
0
0
Sweet! I’ve got half a plan now.

Will the pico send signals to both strips of lights or do I need two picks?

Also, the button to “run program,” is it just a simple button to program or am I going to find a hurdle or two?
Well, since the LEDs are addressable you only need one strip. The first "strip" is LED 0-401, and the second "strip" is LED 402-803. Or 803-402.

If you find that your code is getting "congested", or that you can't maintain a list of 804 values efficiently in your code, or that 804 is too many LEDs for one string (actually I don't know the limit), or 804 LEDs take too long to update, then you could split them into smaller chunks. I'd worry about that later once you've got some basic functionality implemented.

Here's an article discussing some varieties of the addressable LEDs. They're mostly the same because they're mostly clones and variations of the original, but you might find that you need a certain design feature for your project:
https://www.derunledlights.com/the-diff ... 12-sk9822/

You're totally going to be able to just push one button to kick everything off. Eventually.

Statistics: Posted by ame — Fri Aug 23, 2024 9:43 pm



Viewing all articles
Browse latest Browse all 4941

Trending Articles