EasyManua.ls Logo

Parallax BASIC Stamp II - Freqout

Default Icon
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333 • Page 35
BASIC Stamp II
FREQOUT
Output a sine-wave(s) for some time.
usage: FREQOUT pin,milliseconds,freq1{,freq2}
Pin will be temporarily placed in output mode for modulation.
Milliseconds specifies how long to output the frequency(s).
Freq1 specifies the (first) frequency in 1Hz units (0-32768 Hz).
Freq2 is optional and specifies a second frequency.
The pin may be filtered by an RC circuit to achieve a clean sine-wave.
High-impedance speakers may be driven with a coupling cap and a
filter cap (see below).