28122 Parallax Inc, 28122 Datasheet - Page 303
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: 303 of 340
- Download datasheet (6Mb)
RETURN
Advanced Topic: Your Turn – Combining the two Programs
Now that both TerminalOperatedSensorArray.bs2 and ReusablePasswordChecker.bs2
have both been tested, the task is to combine the two. The final program should check
your password before allowing you to choose which sensor to read using the Debug
Terminal.
You will need to tab between each program while copying sections from
ReusablePasswordChecker.bs2 and pasting them into PasswordedSensorTerminal.bs2.
DEBUG CR, "Password is correct."
√
√
√
√
√
√
√
You
TerminalOperatedSensorArray.bs2) in the BASIC Stamp Editor.
Save TerminalOperatedSensorArray.bs2 as PasswordedSensorTerminal.bs2
Copy the
the
PasswordedSensorTerminal.bs2 just before the
Copy and paste the variable declarations from ReusablePasswordChecker.bs2
into PasswordedSensorTerminal.bs2. These variable declarations are added to
the ones in PasswordedSensorTerminal.bs2, so don’t worry about copying and
pasting the commented
Copy the
ReusablePasswordChecker.bs2, and paste it between the
and the
Copy the entire
paste it after the end of the last subroutine in PasswordedSensorTerminal.bs2.
Test PasswordedSensorTerminal.bs2, and see if it works, debug as needed.
can
Main Routine
dashed
Initialization
Password DATA
open
Subroutine
line)
both
Variables
in PasswordedSensorTerminal.bs2.
programs
directive (including the commented heading with
section (including the commented heading) from
from
section from ReusablePasswordChecker.bs2 and
heading.
ReusablePasswordChecker.bs2
' Program can move on when
' password is correct.
' Return when pass is correct.
(ReusablePasswordChecker.bs2
I/O Definitions
Variables
section.
section
into
and
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: