PROGRAMMING
SAMPLE PROGRAM FOR THE TRACKBOT
The trackbot is very shy! It will quickly move to avoid any object that
is in front of it. When this program runs, the robot will first play music.
If you move an object, such as a book, in front of the trackbot's
ultrasonic sensor it will quickly back away and then turn. Repeat this
several times to see how the trackbot reacts.
This program is preloaded in the app under Program 17. Test it out and
write down how the robot behaves for each program segment below.
PROGRAMMING NOTES
Programming the Trackbot
DEMO PROGRAM:
Program 17
OPENING SEGMENT:
SEGMENT 0-30:
SEGMENT >31:
19
19