28125 Parallax Inc, 28125 Datasheet - Page 53

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
Solutions
Q1. The BASIC Stamp 2 microcontroller module.
Q2. Binary numbers.
Q3. The Debug Terminal.
Q4.
E1.
E2. The asterisk multiplies the two operands 7 and 11, resulting in a product of 77.
E3. To fix the problem, add a carriage return, the
P1. Here is a program to display a solution to the math problem:
P2. Prediction: It will print the character "M". This program tests this prediction:
DEBUG
DEBUG
PC. The information is displayed on the Debug Terminal.
END
Stamp module into low-power mode.
The asterisk is the multiply operator.
' Robotics with the Boe-Bot - HelloBoeBotCh01Project01.bs2
' Adds together 4 numbers with DEBUG
'{$STAMP BS2}
'{$PBASIC 2.5}
DEBUG "What's 1+2+3+4?"
DEBUG CR, "The answer is: "
DEBUG DEC 1+2+3+4
END
' Robotics with the Boe-Bot - HelloBoeBotCh01Project02.bs2
' Prints ASCII 7 * 11
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG
END
– This command is used to terminate a PBASIC program and put the BASIC
and
– This command is used to send a message from the BASIC Stamp to the
7 * 11
DEBUG DEC 7 * 11
DEBUG CR, DEC 7 + 11
END
.
CR
control character.

Related parts for 28125