Arduino_AdvancedAnalog - AdvancedDAC.dequeue()

Returns a sample buffer from the queue for writing.

Syntax

SampleBuffer buf = dac.dequeue();

for (size_t i=0; i<buf.size(); i++) {
    buf[i] =  SAMPLES_BUFFER[i];
}

dac1.write(buf);