Skip to content

Commit c6bdd36

Browse files
committed
Fix input playback example.
1 parent 1e9d455 commit c6bdd36

File tree

1 file changed

+1
-1
lines changed
  • shared-bindings/audiobusio

1 file changed

+1
-1
lines changed

shared-bindings/audiobusio/I2S.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
//|
101101
//| mic = audiobusio.I2S(board.GP0, board.GP1, data_in=board.GP2, channel_count=1, sample_rate=16000)
102102
//| dac = audiopwmio.PWMAudioOut(board.GP3)
103-
//| mic.play(output)
103+
//| dac.play(mic)
104104
//| """
105105
//| ...
106106
static mp_obj_t audiobusio_i2s_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {

0 commit comments

Comments
 (0)