28123 Parallax Inc, 28123 Datasheet - Page 40
28123
Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet
1.28123.pdf
(340 pages)
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
- Current page: 40 of 340
- Download datasheet (6Mb)
Your Turn
ACTIVITY #6: INTRODUCING ASCII CODE
In Activity #4, you used the
number in the Debug Terminal. But what happens if you don’t use the
with a number? If you use the
the BASIC Stamp will read that number as an ASCII code.
Programming with ASCII Code
ASCII is short for American Standard Code for Information Interchange.
microcontrollers and PC computers use this code to assign a number to each keyboard
function. Some numbers correspond to keyboard actions, such as cursor up, cursor down,
space, and delete. Other numbers correspond to printed characters and symbols. The
numbers 32 through 126 correspond to those characters and symbols that the BASIC
Stamp can display in the Debug Terminal. The following program will use ACSII code to
display the words “BASIC Stamp 2” in the Debug Terminal.
Example Program – ASCIIName.bs2
'What's a Microcontroller - ASCIIName.bs2
'Use ASCII code in a DEBUG command to display the words BASIC Stamp 2.
'{$STAMP BS2}
'{$PBASIC 2.5}
DEBUG 66,65,83,73,67,32,83,116,97,109,112,32,50
END
√
√
√
Enter and run ASCIIName.bs2.
Use the BASIC Stamp Manual’s Index to look up the
Look up the
Remember to use the toolbar icons to place Compiler Directives into your programs!
You can see a picture of these icons again on page 21.
'{$STAMP BS2} -
'{$PBASIC 2.5} -
END
command in the BASIC Stamp Manual.
DEC
DEBUG
Use the diagonal green electronic chip icon.
Use the gear icon labeled 2.5.
formatter with the
command followed by a number with no formatter,
DEBUG
command to display a decimal
DEBUG
command.
DEC
formatter
Most
Related parts for 28123
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: