FabGL
ESP32 VGA Controller and Graphics Library
|
void fabgl::SquareWaveGeneratorClass::play | ( | int | freq, |
lldesc_t volatile * | dmaBuffers = NULL |
||
) |
Set the main frequency.
freq | Frequency in Hertz. |
dmaBuffers | Use only to provide custom DMA buffers. |
Example:
// Set 25MHz as main frequency SquareWaveGenerator.play(25000000);