28123 Parallax Inc, 28123 Datasheet - Page 188
![TEXT WHAT'S A MICROCONTROLLER](/photos/6/49/64955/mfg_28123_sml.jpg)
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: 188 of 340
- Download datasheet (6Mb)
DEBUG ? value, CR
DEBUG "Change the index variable to a ", CR,
END
Example Program: DisplayDigitsWithLookup.bs2
This example program shows how the
storing the bit patterns used in the
which binary value is placed into the
0 to 9 again. The difference between this program and DisplayDigits.bs2 is that this
program is much more versatile. It is much quicker and easier to adjust for different
number sequences using lookup tables.
' What's a Microcontroller - DisplayDigitsWithLookup.bs2
' Use a lookup table to store and display digits with a 7-segment LED display.
'{$STAMP BS2}
'{$PBASIC 2.5}
index
OUTH = %00000000
DIRH = %11111111
DEBUG "index
FOR index = 0 TO 9
LOOKUP index, [ %11100111, %10000100, %11010011,
√
√
√
"different number(between 0 and 4).", CR, CR,
"Run the modified program and ", CR,
"check to see what number the", CR,
"LOOKUP command places in the", CR,
"value variable."
"-----
Enter and run DisplayDigitsWithLookup.bs2.
Verify that it does the same thing as the previous program (with much less
work).
Take a look at the Debug Terminal while the program runs. It shows how the
value of
value from the list into
OUTH
--------", CR
VAR
index
%11010110, %10110100, %01110110,
", CR,
Nib
is used by the
OUTH
OUTH
OUTH
.
LOOKUP
variable. Again, the
LOOKUP
variable. This example program counts from
command can come in really handy for
command to load the correct binary
index
is used to choose
Related parts for 28123
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![27404](/photos/26/91/269197/27404-l_tmb.jpg)
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![70016](/photos/8/99/89966/mfg_70016_tmb.jpg)
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![28023](/photos/9/30/93020/mfg_28023_tmb.jpg)
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![30010](/photos/9/30/93025/mfg_30010_tmb.jpg)
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: