I'm sorry if this is painfully obvious and im just not seeing it or

gplus
(Johnny Woods (Masamune3210)) #1

I’m sorry if this is painfully obvious and im just not seeing it or that its a newb question, but how does one call a random led from a array?

(Mike Thornbury) #2

err… that was wrong. Hang on.

(Mike Thornbury) #3

Use random8(NUM_LEDS)

Mark uses it in this example here: https://gist.github.com/kriegsman/bcafe0737c1803bd2c2e

(Marc Miller) #4

And if you have more then 256 LEDs, then use random16(NUM_LEDS)

(Mark Kriegsman) #5

Thanks, all. Exactly right!

(Johnny Woods (Masamune3210)) #6

Thank you all for the help!!!