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

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
RETURN
Your Debug Terminal should look similar to Figure 1-10. It displays the current level
and the low- and high-level set points.
Code Discussion
Using
defined processes. When the
routine. The routine code is executed. When complete,
branch back to the code after the
ENDIF
FREQOUT Buzzer,200,1000
PAUSE 200
GOSUB…RETURN
Move your hand over the photoresistor, and watch the Debug Terminal. What
occurs as the light level RC time is
Values or tolerances of the photoresistor and capacitor may vary along with ambient
light level where you are.
initialization section of your code.
o
o
o
Less than 500?
Between 500 and 5000?
Greater than 5000?
works well with our flowchart structure. The subroutines are the pre-
GOSUB
GOSUB
Adjust the high and low level setpoints accordingly in the
call is run, program execution branches to the named
call.
Chapter 1: Process Control and Flowcharts · Page 19
RETURN
causes execution to
Figure 1-10
Debug
Terminal
Light Level
Alarms

Related parts for 122-28176