28123 Parallax Inc, 28123 Datasheet - Page 196

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
As with all texts cited in this section, this one is available for free download from
www.parallax.com.
“StampWorks”, Workbook, Version 1.2, Parallax Inc., 2001
' Patterns of 7-Segment Display to create letters
A
C
d
F
H
I
n
P
S
space
OUTH = %00000000
DIRH = %11111111
index
DO
LOOP
DEBUG "index
FOR index = 0 TO 18
NEXT
StampWorks is written by Nuts & Volts author Jon Williams, and features a wide
variety of experiments. This text is a collection of 32 experiments including
several that use 7-segment LED displays and other types of displays. This text
makes use of the INEX 1000 board, which has many of the components you
have used in this text built into it.
LOOKUP index, [ F, I, S, H, space, C, H, I, P, S, space,
DEBUG "
PAUSE 400
"-----
", DEC2 index, "
CON
CON
CON
CON
CON
CON
CON
CON
CON
CON
VAR
OUTH
--------", CR
A, n, d, space, d, I, P, space ], OUTH
%11110101
%01100011
%10010111
%01110001
%10110101
%00100001
%00010101
%11110001
%01110110
%00000000
Byte
", CR,
", BIN8 OUTH, CR
' All off to start
' All LEDs must be outputs
' 19 chars in message
' 19 chars in message
' 400 ms between letters

Related parts for 28123