Hello there! I'm just curious if I can use random seed for moving servos randomly from a list of 15 movements.
What I'm trying to do is fairly obvious, but I'm just trying to have servos move randomly by randomly selecting 15 movements that are already written.
Would randomseed be appropriate to use for this? If not, then what can I use instead?
You need to use random() not randomSeed() to generate a number between 0 and 14 to use an index into an array holding the 15 servo positions to move to.
Note, however, that random() returns the same values each time the program is run unless you use randomSeed() to make it start at a different place in the "random" sequence. Unfortunately to do that you need to generate a random number to feed randomSeed() in the first place.
Dictionary definition
Recursion - see Recursion