Let's Make Robots!

Unique

Filling an integer array with unique random values

As the title suggests, I want to fill an integer array (int a[8]) with unique values from 0-7 during each iteration of loop fuction in Arduino.I read around the net that the most sane idea I found involved filling array with these values(0-7)sequentially and then swapping these values a random number of times.How do I code this mechanism in arduino?

Roam the floor in a funky sort of way...
Using a
This robot abandons the previous (all very similar designs) robots I have and tries something different, and it works well!!! The motivating influence is a ZBasic … Read more