Skip to content

Commit 9462157

Browse files
committed
send-receive.ino
1 parent c87021a commit 9462157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/examples-communication/serial/send-receive/send-receive.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ AudioInfo info(22000, 1, 16);
1717
SineWaveGenerator<int16_t> sineWave(32000);
1818
GeneratedSoundStream<int16_t> sound(sineWave);
1919
I2SStream out; // or AudioKitStream
20-
StreamCopy copierOut(Serial, sound, 256); // copies sound into i2s
21-
StreamCopy copierIn(out, Serial, 256); // copies sound into i2s
20+
StreamCopy copierOut(Serial, sound, 256); // copies sound into Serial
21+
StreamCopy copierIn(out, Serial, 256); // copies sound from Serial
2222

2323
void setup() {
2424
Serial2.begin(115200);

0 commit comments

Comments
 (0)