13 # error "Wrong implementation included for this platform"
19 #if MOZZI_IS(MOZZI_ANALOG_READ, NOZZI_ANALOG_READ_STANDARD)
20 #error not yet implemented
21 #define getADCReading() 0
22 #define channelNumToIndex(channel) channel
40 #if MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_INTERNAL_DAC, MOZZI_OUTPUT_EXTERNAL_TIMED)
116 #if MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_INTERNAL_DAC)
122 static void startAudio() {
123 #if MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_INTERNAL_DAC)
124 # ifdef ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS
126 static const int CPLAY_SPEAKER_SHUTDOWN = 11;
127 pinMode(CPLAY_SPEAKER_SHUTDOWN, OUTPUT);
128 digitalWrite(CPLAY_SPEAKER_SHUTDOWN, HIGH);
133 analogWriteResolution(MOZZI_AUDIO_BITS);
134 analogWrite(MOZZI_AUDIO_PIN_1, 0);
137 #if MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_INTERNAL_DAC, MOZZI_OUTPUT_EXTERNAL_TIMED)
138 tcConfigure(MOZZI_AUDIO_RATE);
150 #warning Automatic random seeding is not implemented on this platform