28122 Parallax Inc, 28122 Datasheet - Page 73
28122
Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet
1.28123.pdf
(340 pages)
Specifications of 28122
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 73 of 340
- Download datasheet (6Mb)
BASIC Stamp Bi-Color LED Control
Figure 2-20 shows how you can use P15 and P14 to control the current flow in the bi-
color LED circuit. The upper schematic shows how current flows through the red LED
when P15 is set to Vdd and P14 is set to Vss. This is because the red LED will let current
flow through it when electrical pressure is applied as shown, but the green LED acts like
a closed valve and does not let current through it. The bi-color LED glows red.
The lower schematic shows what happens when P15 is set to Vss and P14 is set to Vdd.
The electrical pressure is now reversed. The red LED shuts off and does not allow
current through. Meanwhile, the green LED turns on, and current passes through the
circuit in the opposite direction.
Figure 2-20 also shows the key to programming the BASIC Stamp to make the bi-color
LED glow two different colors. The upper schematic shows how to make the bi-color
LED red using
color LED glow green by using
signals to both P14 and P15 using
pins.
HIGH = Vdd
HIGH = Vdd
LOW = Vss
LOW = Vss
HIGH 15
P15
P14
P15
P14
and
Current
LOW 14
470 Ω
470 Ω
LOW 15
LOW 15
. The lower schematic shows how to make the bi-
and
and
1
2
1
2
HIGH 14
LOW 14
Current
. In other words, use
. To turn the LED off, send low
Figure 2-20
Manual bi-color
LED Test
Current through
Red LED (above)
and Green LED
(below).
LOW
on both
Related parts for 28122
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: