28123 Parallax Inc, 28123 Datasheet - Page 181
28123
Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet
1.28123.pdf
(340 pages)
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
- Current page: 181 of 340
- Download datasheet (6Mb)
Programming the 7-Segment LED Display Test
The
segment, one at a time, simply place the
and use the index to set the I/O pin, high, then low again.
Example Program: SegmentTestWithHighLow.bs2
' What's a Microcontroller - SegmentTestWithHighLow.bs2
' Individually test each segment in a 7-Segment LED display.
HIGH
√
√
√
Parallel Device: The 7-segment LED display is called a parallel device because you have
to use more than one I/O line at a time to send data (high and low information) to the device.
In the case of this 7-segment LED display, it takes 8 I/O pins to instruct the device what to
do.
Parallel Bus: The wires that transmit the
7-segment LED display are called a parallel bus. Note that these wires are drawn as
parallel lines in Figure 6-10. The term parallel kind of makes sense given the geometry of
the schematic.
Enter and run SegmentTestWithHighLow.bs2.
Verify that every segment in the 7-segement LED display lights briefly,
turning on and then off again.
Record a list of which segment each I/O pin controls.
and
LOW
commands will accept a variable as a pin argument. To test each
E
D
C
DP
G F A B
HIGH
HIGH/LOW
and
LOW
Figure 6-11
Wiring Diagram for
Figure 6-10
Use the segment
letters above this
diagram as a
reference.
signals from the BASIC Stamp to the
commands in a
FOR…NEXT
loop,
Related parts for 28123
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: