28123 Parallax Inc, 28123 Datasheet - Page 190

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
Programming the Dial and Display
There is a useful command called the
command. While the
LOOKDOWN
Example Program: SimpleLookdown.bs2
This example program demonstrates how the
P5
Enter and run SimpleLookdown.bs2.
Run the program as-is, with the
Debug Terminal to observe the value of
Try setting the
LOOKDOWN
command gives you an index based on a number.
command: 7, 85, 19, 28.
220
LOOKUP
value
10 kΩ
Pot
command gives you a number based on an index, the
variable equal to each of the other numbers listed by the
nc
LOOKDOWN
Vss
value
LOOKDOWN
, and yes, it is the reverse of the
index
variable set equal to 167, and use the
0.1 µF
command works.
.
Figure 6-14
Schematic of
Potentiometer
Circuit Added to
the Project
Figure 6-15
Project Wiring
Diagram
LOOKUP

Related parts for 28123