Parallax Boe-Bot Student Manual page 41

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

Advertisement

Press and release the Reset button. Did you see a second "Hello..." message
appear in the Debug Terminal?
The BASIC Stamp Editor has shortcuts for most common tasks. For example, to run a
program, you can press the 'Ctrl' and 'R' keys at the same time to run a program. You can
also click the Run button. It's the blue triangle shown in Figure 1-42 that looks like a CD
player's Play button. The flyover help (the Run hint) will appear if you point at the Run
button with your mouse. You can get similar hints to find out what the other buttons do by
pointing at them.
How HelloBoeBot.bs2 Works
The first two lines in the example program are called comments. A comment is a line of
text that gets ignored by the BASIC Stamp Editor, because it's meant for a human
reading the program, not for the BASIC Stamp. In PBASIC, everything to the right of an
apostrophe is normally considered to be a comment by the BASIC Stamp Editor. The
first comment tells which book the example program is from and what the program's
filename is. The second comment contains a handy, one-line description that explains
what the program does.
' Robotics with the Boe-Bot - HelloBoeBot.bs2
' BASIC Stamp sends a text message to your PC/laptop.
Chapter 1: Your Boe-Bot's Brain · Page 27
Figure 1-41
Debug Terminal
The Debug Terminal
displays messages
sent to the PC/laptop
by the BASIC Stamp.
Figure 1-42
BASIC Stamp Editor
Shortcut Buttons

Advertisement

Table of Contents
loading

Table of Contents