Skip to main content

fixedfrequencydac.start()

Starts the fixed-frequency DAC

Availability

Device
Not available on the imp005

Returns

Nothing

Description

Call this method to tell the configured DAC to begin converting the data in its buffer(s). Starting the fixed-frequency DAC will raise an error if the device has not yet been configured using fixedfrequencydac.configure().

Example Code

Output at 0.5kHz from pin 5 on an imp001 or imp002 for 40 seconds. By way of illustration, this code generates a sinusoidal output with an amplitude that also varies sinusoidally. This example recycles the buffers and they are added back in the callback.