28123 Parallax Inc, 28123 Datasheet - Page 31

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
You will enter this program into the BASIC Stamp Editor. Some lines of the program are
made automatically by clicking buttons on the toolbar. Other lines are made by typing
them in from the keyboard.
Figure 1-34
BS2 Icon
Clicking on this button will
automatically place “ ‘ {$STAMP BS2}”
at the beginning of your program.
Begin by clicking the BS2 icon (the green diagonal chip) on the toolbar,
shown highlighted in Figure 1-34. If you hold your cursor over this button, its
flyover help description “Stamp Mode: BS2” will appear.
Next, click on the gear icon labeled “2.5” shown highlighted in Figure 1-35.
It’s flyover help description is “PBASIC Language: 2.5”.
Type in the remaining 4 lines of the program exactly as shown in Figure 1-36.
ALWAYS use these toolbar buttons to add these two lines as the beginning of every
program!
program, you may accidentally use parentheses
this, your program will not work.
Compiler directives use braces
{ }
Figure 1-35
PBASIC 2.5 Icon
Clicking on this button will automatically
place “ ‘ {$PBASIC 2.5}” at the beginning
of your program.
( )
. If you try to type in these parts of your
or square brackets
[ ]
. If you do

Related parts for 28123