27220 Parallax Inc, 27220 Datasheet - Page 49
![BOOK STAMPWORKS](/photos/8/99/89963/mfg_27220_sml.jpg)
27220
Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet
1.27220.pdf
(230 pages)
Specifications of 27220
Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
- Current page: 49 of 230
- Download datasheet (3Mb)
Taking it Further
Q: How could we modify the code to cause the LEDs to behave like airport runway
lights?
A: See below for one possible solution (Can you modify the loop to test at the top?)
Write Code like a Pro
In this experiment we use binary (%) notation quite frequently – this is a handy tool
when our programming editor (like the BASIC Stamp IDE) allows it. This bit of code,
for example:
… is far easier to
When dealing with binary inputs (e.g., buttons or switches) or outputs (e.g., a bank
of LEDs), use binary notation to help yourself (and others) “see” the operation of the
code.
Reset:
' -----[ Program Code ]------------------------------------------------
Main:
LEDsDirs = %11111111
LEDs = %00000001
DO
LOOP UNTIL (LEDs = %10000000)
GOTO Main
LOOP UNTIL (LEDs = %10000000)
LOOP UNTIL (LEDs = 128)
PAUSE DelayTm
LEDs = LEDs << 1
visualize
than:
' make LEDs outputs
' start with right LED on
' on-time for lit LED
' shift LED left
' test for last LED
' test for last LED
' test for last LED
Related parts for 27220
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![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:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![28023](/photos/9/30/93020/mfg_28023_tmb.jpg)
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![30010](/photos/9/30/93025/mfg_30010_tmb.jpg)
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
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: