This code is for a simple robot that uses the Adafruit Trinket Pro, continuous rotation servos and inexpensive ultrasonic distance sensor. An advantage of this little robot is that made of the minimum number of inexpensive parts that are merely hot glued together. Another advantage of this Simplest_robot is flexibility. Since the core of this project is mounted on a mini breadboard, the robot can easily be modified. It is a cinch to add pretty LEDs or other sensors, such as an IR receiever or IR distance sensors.
The robot is made from an Adafruit Trinket Pro, plugged into a small breadboard, which is glued to the top of a battery holder, which has two continuous rotation servoes glued to the bottom, along with a "tail" out the back made from soft copper wire which serves as the 3rd point of support.