freqout cmd
Archiver
Posts: 46,084
Does anyone have any idea on how to use the FREQOUT cmd to just
generate a frequency? Say 1kc. or 1000 cycles per second sinewave?
I am having some trouble understanding it. I have a BS2 stamp and
Breadboard. I gotta figure out what I'm doing wrong.
Jim
generate a frequency? Say 1kc. or 1000 cycles per second sinewave?
I am having some trouble understanding it. I have a BS2 stamp and
Breadboard. I gotta figure out what I'm doing wrong.
Jim
Comments
I have never used freqout, but according to the V1.9 Stamp manual:
FREQOUT pin,duration,freq
FREQOUT 2,2000,1000 should generate 1kc on pin 2 for 2 secs.
duration is 1 to 65535 in millisecs.
freq is 0 to 32767 in Hz.
zero freq is silent.
It uses PWM, so it will probably need some low-pass filtering.
Ray McArthur
Original Message
From: James Hardy <jahardy33@h...>
To: <basicstamps@egroups.com>
Sent: Wednesday, July 26, 2000 1:18 PM
Subject: [noparse][[/noparse]basicstamps] freqout cmd
> Does anyone have any idea on how to use the FREQOUT cmd to just
> generate a frequency? Say 1kc. or 1000 cycles per second sinewave?
> I am having some trouble understanding it. I have a BS2 stamp and
> Breadboard. I gotta figure out what I'm doing wrong.