advanced Random() functionality?


i have need (or desire) iteratively select random value array, , each value selected remaining values have not been selected until have been selected.  have suggestion how done?

thanks.

only 1 way can - keep track of ones you've used array of flags.  random number.  if flag value shows has been used, random number, , keep going until 1 hasn't been used.  need figure out when need reset flags, flag them unused once again.

regards,
ray l.


Arduino Forum > Using Arduino > Programming Questions > advanced Random() functionality?


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts