Chapter 3: Assemble and Test Your Boe-Bot · Page 119
Exercises
1. Write a
FREQOUT command that makes a tone that sounds different from the reset
detect tone to signify the end of a program.
2. Write a
FREQOUT command that makes a tone (different from beginning or
ending tones) that signifies an intermediate step in a program has been
completed. Try a value with a 100 ms duration at a 4 kHz frequency.
Projects
1. Modify RightServoTest.bs2 so that it makes a tone signifying the test is
complete.
2. Modify TestServoSpeed.bs2 so that you can use
DEBUGIN to enter the pulse
width for the left and the right servo as well as the number of pulses to deliver in
the
FOR…NEXT loop. Use this program to control your Boe-Bot’s motion via the
Debug Terminal’s Transmit windowpane.