28122 Parallax Inc, 28122 Datasheet - Page 191
28122
Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet
1.28123.pdf
(340 pages)
Specifications of 28122
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 191 of 340
- Download datasheet (6Mb)
Unless you tell it to make a different kind of comparison, the
to see if a value is equal to an entry in the list. You can also check to see if a value is
greater than, less than or equal to, etc. For example, to search for an entry that is less
than or equal to the value variable, use the
starts the list.
' What's a Microcontroller - SimpleLookdown.bs2
' Debug an index using a value and a lookup table.
' {$STAMP BS2}
' {$PBASIC 2.5}
value
index
value = 167
DEBUG ? value
LOOKDOWN value, [7, 85, 19, 167, 28], index
DEBUG ? index, CR
DEBUG "Change the value variable to a ", CR,
√
√
√
"different number in this list:", CR,
"7, 85, 19, 167, or 28.", CR, CR,
"Run the modified program and ", CR,
"check to see what number the ", CR,
value = 35
LOOKDOWN value, <= [ 7, 19, 28, 85, 167 ], index
Re-run the program after each change to the
value from the list gets placed in the
Modify SimpleLookdown.bs2 by substituting this
statement:
Experiment with different values and see if the index variable displays what
you would expect.
Trick question: What happens if your value is greater than 167? This little twist in the
LOOKDOWN
make any changes to the index.
VAR
VAR
command can cause problems because the
Byte
Nib
<=
index
operator just before the first bracket that
variable.
value
LOOKDOWN
LOOKDOWN
variable and note which
value
command checks
command doesn’t
and
LOOKDOWN
Related parts for 28122
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: