Difference between revisions of "Demiurge/Oscillator"

From Stm32World Wiki
Jump to navigation Jump to search
m (Niclas moved page DemiurgeBlocks:Oscillator to Demiurge:Oscillator without leaving a redirect)
m (Niclas moved page Demiurge:Oscillator to Demiurge/Oscillator without leaving a redirect)
 
(No difference)

Latest revision as of 10:32, 20 August 2022

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