28125 Parallax Inc, 28125 Datasheet - Page 41

TEXT ROBOTICS

28125

Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28125

Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
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.
Press and release the Reset button. Did you see a second “Hello…” message
appear in the Debug Terminal?
' Robotics with the Boe-Bot - HelloBoeBot.bs2
' BASIC Stamp sends a text message to your PC/laptop.
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.
Figure 1-42
BASIC Stamp Editor
Shortcut Buttons
Figure 1-41
Debug Terminal
The Debug Terminal
displays messages
sent to the PC/laptop
by the BASIC Stamp.

Related parts for 28125