diff options
author | Damien George <damien@micropython.org> | 2021-12-15 11:49:22 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-12-15 11:49:22 +1100 |
commit | d9d67adef1113ab18f1bb3c0c6204ccb210a27be (patch) | |
tree | c1806e1109c043c89023253472d11909ccec7fa9 /docs/esp32 | |
parent | 5ca56aaf166c3e7cda178dfe809f8caf599b1dff (diff) | |
download | micropython-d9d67adef1113ab18f1bb3c0c6204ccb210a27be.tar.gz micropython-d9d67adef1113ab18f1bb3c0c6204ccb210a27be.zip |
docs: Remove trailing spaces and convert tabs to spaces.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32')
-rw-r--r-- | docs/esp32/quickref.rst | 8 | ||||
-rw-r--r-- | docs/esp32/tutorial/intro.rst | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index 97b6fba38d..41c2fd6c65 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -415,14 +415,14 @@ I2S bus See :ref:`machine.I2S <machine.I2S>`. :: from machine import I2S, Pin - + i2s = I2S(0, sck=Pin(13), ws=Pin(14), sd=Pin(34), mode=I2S.TX, bits=16, format=I2S.STEREO, rate=44100, ibuf=40000) # create I2S object i2s.write(buf) # write buffer of audio samples to I2S device - + i2s = I2S(1, sck=Pin(33), ws=Pin(25), sd=Pin(32), mode=I2S.RX, bits=16, format=I2S.MONO, rate=22050, ibuf=40000) # create I2S object i2s.readinto(buf) # fill buffer with audio samples from I2S device - -The I2S class is currently available as a Technical Preview. During the preview period, feedback from + +The I2S class is currently available as a Technical Preview. During the preview period, feedback from users is encouraged. Based on this feedback, the I2S class API and implementation may be changed. ESP32 has two I2S buses with id=0 and id=1 diff --git a/docs/esp32/tutorial/intro.rst b/docs/esp32/tutorial/intro.rst index 4c56738347..8ed42dbd3d 100644 --- a/docs/esp32/tutorial/intro.rst +++ b/docs/esp32/tutorial/intro.rst @@ -34,8 +34,8 @@ Please refer to the documentation for your board for further details. Getting the firmware -------------------- -The first thing you need to do is download the most recent MicroPython firmware -.bin file to load onto your ESP32 device. You can download it from the +The first thing you need to do is download the most recent MicroPython firmware +.bin file to load onto your ESP32 device. You can download it from the `MicroPython downloads page <https://micropython.org/download#esp32>`_. From here, you have 3 main choices: |