Example of using the M5Stack’s DAC to make a tone v.s. Arduino tone()
DAC v.s. Digital pin.
3 sec. DAC v.s. 3 Sec. digital pin
sinf() via DAC v.s. Arduino tone(pin, frequency, duration)