28125 Parallax Inc, 28125 Datasheet - Page 54

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
P3. The last three
"Hello" message.
' Robotics with the Boe-Bot – HelloBoeBotCh01Project03.bs2
' Send message to Debug Terminal and do some math.
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Hello, this is a message from your Boe-Bot.", CR
DEBUG "What's 7 X 11?", CR, "The answer is: ", DEC 7 * 11
END
The output from the Debug Terminal is:
This output is the same as it was with the three lines. This is an example of
using commas to output a lot of information, using only one
Hello, this is a message from your Boe-Bot.
What's 7 X 11?
The answer is: 77
DEBUG
lines can be deleted. An additional
CR
is needed after the
DEBUG
statement.

Related parts for 28125