28128 Parallax Inc, 28128 Datasheet - Page 128

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
As the value of
first time through the array, a value is loaded into word f(0), the second time through the
array, a value is loaded into word f(1), and so on through word f(9).
The same concept worked for printing the values back to the Debug Terminal.
The time varying waveforms we've looked at in this chapter and in Chapter #5 have been
periodic. That is, they've repeated themselves. In the next two experiments, we'll take a
look at waveforms that vary with time, but they aren't necessarily periodic.
FOR n = 0 TO 9
NEXT
FOR n = 0 TO 9
NEXT
COUNT 0, 1000, f(n)
DEBUG HOME, "Frequency:
DEBUG "Frequency at
DEBUG "
n
is incremented in the
seconds was ", DEC4 f(n), " Hz.", CR
FOR…NEXT
", DEC1 n
", DEC4 f, " Hz.", CR, CR
loop, so is the index of the array. The

Related parts for 28128