28122 Parallax Inc, 28122 Datasheet - Page 101
![KIT WHAT'S A MICRO:PARTS ONLY](/photos/26/89/268994/28122-l_sml.jpg)
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: 101 of 340
- Download datasheet (6Mb)
LOOP
How ReactionTimer.bs2 Works
Since the program will have to keep track of the number of times the pushbutton was
polled, a variable called
The
DO…LOOP
another.
DO
LOOP UNTIL IN3 = 0
LOW 14
DEBUG "Your time was ", DEC timeCounter,
PAUSE 1
timeCounter = timeCounter + 1
DEBUG
timeCounter VAR Word
DEBUG "Press and hold pushbutton.", CR,
DO
LOOP
" ms.", CR, CR,
"To play again, hold the ", CR,
"button down again.", CR, CR
statements can be nested. In other words, you can put one
Variables initialize to zero:
automatically zero until a command sets it to a new value.
DO
LOOP UNTIL IN3 = 1
' Rest of program was here.
commands contain instructions for the player of the game.
"to make light turn red.", CR, CR,
"When light turns green, let", CR,
"go as fast as you can.", CR, CR
timeCounter
is declared.
When a variable is declared in PBASIC, its value is
' Declare variable to store time.
' Begin main loop.
' Nested loop repeats...
' until pushbutton press.
' Back to "Begin main loop".
' Nested loop, count time...
' until pushbutton is released.
' Bi-color LED off.
' Display time measurement.
' Play again instructions.
' Back to "Begin main loop".
DO…LOOP
inside
Related parts for 28122
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: