122-28176 Parallax Inc, 122-28176 Datasheet - Page 22

GUIDE STUDENT PROCESS CONTROL

122-28176

Manufacturer Part Number
122-28176
Description
GUIDE STUDENT PROCESS CONTROL
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-28176

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
ACTIVITY #3: FLOW AND CODING WITH CONDITIONAL BRANCHES
In most processes, measurements are made and decisions are then based on those
measurements (such as, in the shower example, whether to turn up or down the hot water
based on the current temperature). In the BASIC Stamp, there are multiple ways to code
decisions and conditional branches.
Parts Required
Same as Activity #2
Consider the flowchart in Figure 1-7. What should occur when the button is pressed, and
when it is not pressed?
Pushbutton Value
1/4 Second Delay
False
Declarations
Initialization
Pushbutton
Pressed
(Pause)
Display
Button
Read
Start
and
True
Blink LED For
1/2 Second
Figure 1-7
Conditional LED Blink
Flowchart

Related parts for 122-28176