27220 Parallax Inc, 27220 Datasheet - Page 43

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

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
EXPERIMENT #3: DISPLAY A COUNTER WITH LEDS
Most applications will require more than one LED, and from a programming stand-
point it is convenient to update all LEDs at the same time if possible.
experiment demonstrates updating multiple LEDs by displaying a running 4-bit
counter.
Look It Up: PBASIC Elements to Know
Building the Circuit
For this experiment we will add three more LEDs to the circuit used in Experiments
#1 and #2.
1. Start with four three-inch (8 cm) segments of white hook-up wire. Strip ¼-
2. Plug one end of a wire into BASIC Stamp connection for P0.
3. Plug the other end into LED 0.
4. Repeat steps 2 and 3 for P1 – P3 connecting to LEDs 1 – 3, respectively.
OUTS, OUTL, OUTH, OUTA - OUTD
DIRS, DIRL, DIRH, DIRA - DIRD
FOR-NEXT
inch (6 mm) of insulation from each end.
This

Related parts for 27220