Arduino_AdvancedAnalog - AdvancedDAC.frequency()

Sets the DAC’s frequency. This function can only be used after begin() has been called.

Syntax

int frequency = 20000;

dac.frequency(frequency);

Parameters

  • int - frequency in Hertz (Hz).