28129 Parallax Inc, 28129 Datasheet - Page 128

TEXT BASIC ANALOG & DIGITAL

28129

Manufacturer Part Number
28129
Description
TEXT BASIC ANALOG & DIGITAL
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28129

Style
Book
Title
Basic Analog and Digital
Contents
Basic Analog and Digital Text
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
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 28129