Parallax Boe-Bot Student Manual page 43

Hide thumbs Also See for Boe-Bot:
Table of Contents

Advertisement

A good new name for the file would be HelloBoeBotYourTurn.bs2.
Modify the comments at the beginning of the program so that they read:
' Robotics with the Boe-Bot - HelloBoeBotYourTurn.bs2
' BASIC Stamp does simple math, and sends the results
' to the Debug Terminal.
Add these three lines between the first
DEBUG CR, "What's 7 X 11?"
DEBUG CR, "The answer is: "
DEBUG DEC 7 * 11
Save the changes you made by clicking File and selecting Save .
Your program should now look like the one shown in Figure 1-43.
Run your modified program. Hint: you will have to either click Run from the Run menu
again, like in Figure 1-40, or click the Run button, like in Figure 1-42.
Chapter 1: Your Boe-Bot's Brain · Page 29
command and the
DEBUG
Figure 1-43
Modified
HelloBoeBot.bs2
Check your work
against the
example program
shown here.
command:
END

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Boe-Bot and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF