28122 Parallax Inc, 28122 Datasheet - Page 96
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: 96 of 340
- Download datasheet (6Mb)
This is where the
the LED connected to P15 on instead of the one connected to P14.
If neither statement is true, we still want to pause for 50 ms without changing the state of
any LED circuits.
When you’re finished with all the decisions, don’t forget the
It’s time to turn the LEDs off and pause again. You could try to decide which LED you
turned on and turn it back off. PBASIC commands execute pretty quickly, so why not
just turn them both off and forget about more decision making?
The
checking the pushbuttons and changing the states of the LEDs starts all over again.
Your Turn – What about Pressing Both Pushbuttons?
The example program has a flaw. Try pressing both pushbuttons at once, and you’ll see
the flaw. You would expect both LEDs to flash on and off, but they don’t because only
one code block in an
ENDIF
Here is how you can fix this problem:
LOOP
.
√
√
LOOP
Save PushbuttonControlOfTwoLeds.bs2 under a new name.
Replace this
statement sends the program back up to the
ELSEIF (IN4 = 1) THEN
ELSE
ENDIF
LOW 14
LOW 15
PAUSE 50
IF (IN3 = 1) THEN
PAUSE 50
HIGH 15
PAUSE 50
PAUSE 50
ELSEIF
IF...ELSEIF…ELSE
IF
keyword helps. If
statement and code block:
statement gets executed before it skips to the
IN3
is not 1, but
DO
statement, and the process of
ENDIF
IN4
.
is 1, we want to turn
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: