Demiurge/Oscillator

From Stm32World Wiki
Revision as of 11:32, 20 August 2022 by Niclas (talk | contribs) (Niclas moved page Demiurge:Oscillator to Demiurge/Oscillator without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Oscillator is a block that generates waveforms at a controllable frequency and amplitude. The start of the waveform is also controllable with the trigger, but should be used with caution as it introduces spike frequencies.

Source Code

Inputs
Name Description
frequency The frequency to generate. For non-SINE, it is the inverse of the full cycle period.
amplitude The amplitude of the output signal.
trigger Re-trigger the wave generation to time zero.

Example