I have a robot that simply changes direction when the ir sensor or preasure switches are hit, meaning it has found an obsticle, I want to know how I can have it do random things.
I need to be able to give a random value to a variable, then set a few if statments such as
If b0< 10 turn right
If...