Skip to content

Commit d758266

Browse files
authored
Swap I2SOut pins for audio output
Call I2SOut with correct pin order
1 parent 5f5f0e5 commit d758266

File tree

1 file changed

+1
-1
lines changed
  • Feather_RP2350_Examples/CircuitPython_I2S_Tone

1 file changed

+1
-1
lines changed

Feather_RP2350_Examples/CircuitPython_I2S_Tone/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import board
1313
import audiobusio
1414

15-
audio = audiobusio.I2SOut(board.D6, board.D5, board.D9)
15+
audio = audiobusio.I2SOut(board.D5, board.D6, board.D9)
1616

1717
tone_volume = 0.1 # Increase this to increase the volume of the tone.
1818
frequency = 440 # Set this to the Hz of the tone you want to generate.

0 commit comments

Comments
 (0)