28123 Parallax Inc, 28123 Datasheet - Page 72

TEXT WHAT'S A MICROCONTROLLER

28123

Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28123

Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
Controlling a bi-color LED with the BASIC Stamp requires two I/O pins. After you have
manually verified that the bi-color LED works using the manual test, you can connect the
circuit to the BASIC Stamp as shown in Figure 2-19.
P15
P14
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
X2
X3
Connect the bi-color LED circuit to the BASIC Stamp as shown in Figure 2-
19.
Vdd
470 Ω
1
Vin
2
Vss
1
2
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
X2
X3
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
1
Vdd
X2
X3
2
Vdd
Vin
2
Vin
Vss
1
Vss
Figure 2-19
Bi-color LED Connected
to BASIC Stamp
Figure 2-18
Manual bi-
color LED
Test
Bi-color
LED red
(left) and
green
(right).

Related parts for 28123