Shop OBEX P1 Docs P2 Docs Learn Events
programmable freqency generator — Parallax Forums

programmable freqency generator

ArchiverArchiver Posts: 46,084
edited 2002-02-03 00:23 in General Discussion
I need to be able to generate frequencies from 1 Hz to 100 kHz with the Basic
Stamp. Or at least up to 65 kHz. The freqout command only goes to 32 kHz.
Anyone know why this limitation? Also, the signal is not a square wave and
cannot be measured by a frequency counter! I considered using the Pause and
High commands, but the smallest value for Pause is 1 ms which really limits
the possibilities for the higher frequencies. Can anyone suggest a way around
these limitations or a better way to do this? Also, to be able to input
frequency value I need to take the reciprocal of this value to program a time
period (considered PAK8 also!) but 1 divided by the frequency can't be
accomplished with BS2 math! Help please!


[noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.