Skip to content

Commit cbc832d

Browse files
committed
edit
1 parent 3260761 commit cbc832d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/ESP_I2S/examples/Simple_tone/Simple_tone.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
#include <ESP_I2S.h>
3232

33-
// The GPIO pins are not fixed, most other pins can be used for the I2S function.
33+
// The GPIO pins are not fixed, most other pins could be used for the I2S function.
3434
#define I2S_LRC 25
3535
#define I2S_BCLK 5
3636
#define I2S_DIN 26
@@ -70,11 +70,11 @@ void loop() {
7070
sample = -1 * sample;
7171
}
7272

73-
// Left channel, low 8 bit then hight 8 bit
73+
// Left channel, low 8 bit then high 8 bit
7474
i2s.write(sample);
7575
i2s.write(sample >> 8);
7676

77-
// Right channel, low 8 bit then hight 8 bit
77+
// Right channel, low 8 bit then high 8 bit
7878
i2s.write(sample);
7979
i2s.write(sample >> 8);
8080

0 commit comments

Comments
 (0)