28123 Parallax Inc, 28123 Datasheet - Page 45

TEXT WHAT'S A MICROCONTROLLER

28123

Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28123

Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
Further Investigation
In this chapter, you visited the Software section of either the Parallax web site or the
Parallax CD to get a copy of the BASIC Stamp Editor. You can go to the Documentation
sections of either the Parallax web site or the Parallax CD to get a free copy of this text
and of the BASIC Stamp Manual. Printed copies can also be purchased from Parallax.
“BASIC Stamp Manual”, Users Manual, Version 2.0c, Parallax Inc., 2000
P2. The last three
DEBUG "What's 1+2+3+4?"
DEBUG CR, "The answer is: "
DEBUG DEC 1+2+3+4
END
"Hello" message.
' What's a Microcontroller - FirstProgramYourTurn.bs2
' BASIC Stamp sends message to Debug Terminal.
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Hello, it's me, your BASIC Stamp!", CR
DEBUG "What's 7 X 11?", CR, "The answer is: ", DEC 7 * 11
END
The output from the Debug Terminal is:
Hello, it's me, your BASIC Stamp!
What's 7 X 11?
The answer is: 77
This output is the same as it was with the previous code. This is an example of
using commas to output a lot of information, using only one
You can learn much more about the
up in the BASIC Stamp Manual. You can find them using the Table of Contents.
The BASIC Stamp Manual has many more examples you can try, along with
lessons similar to those in the Projects section you just completed.
DEBUG
lines can be deleted. An additional
DEBUG
and
END
commands by looking them
CR
DEBUG
is needed after the
statement.

Related parts for 28123