File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,25 +19,25 @@ I2S objects can be created and initialized using::
19
19
# ESP32
20
20
sck_pin = Pin(14) # Serial clock output
21
21
ws_pin = Pin(13) # Word clock output
22
- sdout_pin = Pin(12) # Serial data output
22
+ sd_pin = Pin(12) # Serial data output
23
23
24
24
or
25
25
26
26
# PyBoards
27
27
sck_pin = Pin("Y6") # Serial clock output
28
28
ws_pin = Pin("Y5") # Word clock output
29
- sdout_pin = Pin("Y8") # Serial data output
29
+ sd_pin = Pin("Y8") # Serial data output
30
30
31
31
audio_out = I2S(2,
32
- sck=sck_pin, ws=ws_pin, sdin=sdin_pin,
32
+ sck=sck_pin, ws=ws_pin, sd=sd_pin,
33
33
mode=I2S.TX,
34
34
bits=16,
35
35
format=I2S.MONO,
36
36
rate=44100,
37
37
ibuf=20000)
38
38
39
39
audio_in = I2S(2,
40
- sck=sck_pin, ws=ws_pin, sdin=sdin_pin,
40
+ sck=sck_pin, ws=ws_pin, sd=sd_pin,
41
41
mode=I2S.RX,
42
42
bits=32,
43
43
format=I2S.STEREO,
You can’t perform that action at this time.
0 commit comments