28123 Parallax Inc, 28123 Datasheet - Page 225

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
E3. To go in the opposite direction, the patterns must be displayed in the reverse
P1. Photoresistor from Figure 7-2, p.191; LED from Figure 2-11, p.48.
P2
LOOP
order. This can be done by switching the patterns around inside the
statement, or by reversing the order they get looked up.
Solution 1
Update_Display:
IF index = 6 THEN index = 0
'
LOOKUP index, [ %01000000,
index = index + 1
RETURN
Solution 2
Update_Display:
'
RETURN
LOOKUP index, [ %01000000,
IF (index = 0) THEN
ELSE
ENDIF
DEBUG HOME, "time =
index = 5
index = index - 1
220
Vss
%10000000,
%00000100,
%00000010,
%00000001,
%00100000 ], OUTH
BAFG.CDE
%10000000,
%00000100,
%00000010,
%00000001,
%00100000 ], OUTH
BAFG.CDE
0.01 µF
", DEC5 time
P14
470
Vss
LED
LOOKUP

Related parts for 28123