130-28176 Parallax Inc, 130-28176 Datasheet - Page 24
![KIT PARTS PROCESS CONTROL](/photos/8/99/89975/mfg_130-28176_sml.jpg)
130-28176
Manufacturer Part Number
130-28176
Description
KIT PARTS PROCESS CONTROL
Manufacturer
Parallax Inc
Specifications of 130-28176
Accessory Type
Education Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 24 of 330
- Download datasheet (11Mb)
When the button is not pressed, the conditional test of
because the value of
PAUSE 250
When the button is pressed,
within the block will be executed, and the LED will blink.
Challenge 1-3: Code for True and False Conditions
Many times, different code must be executed depending on whether a condition is true or
false. The
condition is false, the code in the
√
IF (condition) THEN
ELSE
ENDIF
Figure 1-8 is a flowchart that requires different code depending on whether the
button is pressed or not. Modify ConditionalLEDBlink.bs2 to match the
flowchart's operation.
Code to run if true
Code to run if false
IF (PBVal = 0) THEN
ENDIF
' ******** 1/4 second pause
PAUSE 250
Code Formatting Tip: While indents in lines are not required, they do help to visually
represent code that is common to sections.
.
IF…THEN…ELSE...ENDIF
HIGH LED
PAUSE 500
LOW LED
PBVal
is 1. Execution will branch to after the
PBVal
ELSE
' If condition is true then,
' blink the LED
will in fact equal 0;
structure can be used to perform this task. If the
section will be executed.
PBVal=0
PBVal=0
will be true, the code
ENDIF
will result in false
, executing the
Related parts for 130-28176
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![130-32000](/photos/8/99/89967/mfg_130-32000_tmb.jpg)
Part Number:
Description:
KIT PROPELLER EDU PROJECT PARTS
Manufacturer:
Parallax Inc
Datasheet:
![130-28029](/photos/9/0/90016/mfg_130-28029_tmb.jpg)
Part Number:
Description:
KIT PARTS SMART SENSORS
Manufacturer:
Parallax Inc
Datasheet:
![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:
![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:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
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: