28128 Parallax Inc, 28128 Datasheet - Page 127

no-image

28128

Manufacturer Part Number
28128
Description
KIT BASIC ANALOG/DIGI PARTS ONLY
Manufacturer
Parallax Inc
Datasheet

Specifications of 28128

Accessory Type
ADC, DAC
Product
Microcontroller Accessories
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
During the time this program records the frequency, the Debug Terminal display is
similar to the previous revision of the program. When the program is done recording, it
displays ten frequency samples. The Debug Terminal data shown in Figure 6-10 was
generated by adjusting the pot back and forth to some random frequencies (tones).
About the Code
Program Listing 6.2 Revision 2 introduces the concept of data storage using an array.
We used the command:
to reserve 10 words of space in the BASIC Stamp's RAM. There's a word labeled f(0),
another word labeled f(1), and so on through f(9). Each of these words is stored adjacent
to each other in the BASIC Stamp's RAM.
f
VAR
Word(10)
Figure 6-10
Debug Output for
Program Listing 6.2,
Revision 1.

Related parts for 28128