28122 Parallax Inc, 28122 Datasheet - Page 91
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: 91 of 340
- Download datasheet (6Mb)
LOOP
How PushbuttonControlledLed.bs2 Works
This program is a modified version of ReadPushbuttonState.bs2 from the previous
activity. The
replaced with an
= 1)
executed until the
ENDIF
commands after the
You can make a detailed list of what a program should do, to either help you plan the
program or to describe what it does. This kind of list is called pseudo code, and the
example below uses pseudo code to describe how PushbuttonControlledLed.bs2 works.
DEBUG ? IN3
IF (IN3 = 1) THEN
ELSE
ENDIF
•
•
HIGH 14
PAUSE 50
LOW 14
PAUSE 50
PAUSE 100
, the commands that come after the
and moves on. When the condition after the
Do the commands between here and the Loop statement over and over again
Loop
o
o
o
DO…LOOP
Display the value of IN3 in the Debug Terminal
If the value of IN3 is 1, Then
Else, (if the value of IN3 is 0)
IF…THEN…ELSE
ELSE
ELSE
and
statement is reached, at which point the program skips to the
Turn the LED on
Wait for 1/20 of a second
Turn the LED off
Wait for 1/20 of a second
do nothing, but wait for the same amount of time it would have
taken to briefly flash the LED (1/10 of a second).
statement are executed until the
DEBUG ? IN3
statement. When the condition after the
commands are the same. The
THEN
statement are executed. They will be
IF
ENDIF
is not true
is reached.
(IN3 = 0)
PAUSE 250
IF
is true
(IN3
, the
was
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: