Przeglądaj źródła

Add comments to USB examples

dds
PaulStoffregen 8 lat temu
rodzic
commit
6381c771c9
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      examples/HardwareTesting/PassThroughUSB/PassThroughUSB.ino
  2. +1
    -1
      examples/HardwareTesting/WavFilePlayerUSB/WavFilePlayerUSB.ino

+ 1
- 1
examples/HardwareTesting/PassThroughUSB/PassThroughUSB.ino Wyświetl plik

@@ -4,7 +4,7 @@
#include <SD.h>
#include <SerialFlash.h>

AudioInputUSB usb1; //xy=200,69
AudioInputUSB usb1; //xy=200,69 (must set Tools > USB Type to Audio)
AudioOutputI2S i2s1; //xy=365,94
AudioConnection patchCord1(usb1, 0, i2s1, 0);
AudioConnection patchCord2(usb1, 1, i2s1, 1);

+ 1
- 1
examples/HardwareTesting/WavFilePlayerUSB/WavFilePlayerUSB.ino Wyświetl plik

@@ -5,7 +5,7 @@
#include <SerialFlash.h>

AudioPlaySdWav playWav1;
AudioOutputUSB audioOutput;
AudioOutputUSB audioOutput; // must set Tools > USB Type to Audio
AudioOutputAnalog dac;
AudioConnection patchCord1(playWav1, 0, audioOutput, 0);
AudioConnection patchCord2(playWav1, 1, audioOutput, 1);

Ładowanie…
Anuluj
Zapisz