Question on the random8(x,y) function because it seems as though it never wants to give the upper limit value.
I am using it like so
int i = random8(1,NUM_STRIPS);
After letting the board run for 15 minutes the max number was never reached. My work around for now is doing NUM_STRIPS+1. I get that random numbers with computers are actually really hard to achieve but I figured i’d see that upper limit be reached at least once within those 15 minutes.
Are you utilizing the randomSeed() on an open analog port to help with RNG?
I actually use 2 on my simon door…probably overkill…
randomSeed(analogRead(A4) / analogRead(A5))
It’s only “pseudo-random” but at least this way I get twice the pseudo-randomness
@Jon_Bruno I am not. Mostly because I didn’t think FastLEDs built in random function needed it. I can use random8(x) and get every number just fine but in the case of random8(x,y) y is never given for a result.