Merge pull request #852 from adafruit/jerryneedell-patch-1
fix doc error in audioOut.c
This commit is contained in:
commit
14ca3dc42f
|
@ -80,7 +80,8 @@
|
||||||
//| speaker_enable = digitalio.DigitalInOut(board.SPEAKER_ENABLE)
|
//| speaker_enable = digitalio.DigitalInOut(board.SPEAKER_ENABLE)
|
||||||
//| speaker_enable.switch_to_output(value=True)
|
//| speaker_enable.switch_to_output(value=True)
|
||||||
//|
|
//|
|
||||||
//| wav = audioio.WaveFile("cplay-5.1-16bit-16khz.wav")
|
//| data = open("cplay-5.1-16bit-16khz.wav", "rb")
|
||||||
|
//| wav = audioio.WaveFile(data)
|
||||||
//| a = audioio.AudioOut(board.A0)
|
//| a = audioio.AudioOut(board.A0)
|
||||||
//|
|
//|
|
||||||
//| print("playing")
|
//| print("playing")
|
||||||
|
|
Loading…
Reference in New Issue