port by Thomas Combriat
This port requires the following two libraries (which should be part of a default installtion, however):
Contrary to the Teensy 3, the Teensy 4 do not have any DAC. The output is done on pin A8 (PWM) by default (see below). twi_nonblock is not ported.
The following audio modes (see MOZZI_AUDIO_MODE) are currently supported on this hardware:
The default mode is MOZZI_OUTPUT_PWM .
Output is to a GPIO pin (or two in stereo). The output resolution is fixed at 10 bits, and a 146484 kHz carrier frequency. The output pins can be configured as: