How-To Guide

CLASS 1
66
Loop and Random Numbers
How to Code a Wiggly Lizard Robot
This code will make the left motor turn on
and off for a random amount of time
This code will make the right motor turn on
and off for a random amount of time. This
is using what we learned about random
numbers before.
Connect the codes and look below.
If you activate this code, the left motor will turn on and off for 1-3 seconds and then the right motor will turn on
and off for 1-3 seconds.