diff options
author | Mike Causer <mcauser@gmail.com> | 2019-02-13 12:29:01 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-16 14:08:28 +1100 |
commit | a2c4cb484d6018a65dabd921c509fc12b71a088b (patch) | |
tree | f83725e5b9ff8390ff8a5ebc8c64926acb08db0a /docs/esp8266 | |
parent | 5a8f392f09e3826ff2a1f4330700198e9c0d42cc (diff) | |
download | micropython-a2c4cb484d6018a65dabd921c509fc12b71a088b.tar.gz micropython-a2c4cb484d6018a65dabd921c509fc12b71a088b.zip |
docs: Fix spelling in various parts of the docs.
Diffstat (limited to 'docs/esp8266')
-rw-r--r-- | docs/esp8266/general.rst | 2 | ||||
-rw-r--r-- | docs/esp8266/quickref.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/esp8266/general.rst b/docs/esp8266/general.rst index 020e21df62..fbe8fe1c3c 100644 --- a/docs/esp8266/general.rst +++ b/docs/esp8266/general.rst @@ -140,7 +140,7 @@ The above may also happen after an application terminates and quits to the REPL for any reason including an exception. Subsequent arrival of data provokes the failure with the above error message repeatedly issued. So, sockets should be closed in any case, regardless whether an application terminates successfully -or by an exeption, for example using try/finally:: +or by an exception, for example using try/finally:: sock = socket(...) try: diff --git a/docs/esp8266/quickref.rst b/docs/esp8266/quickref.rst index a50e3dd6b5..a197665043 100644 --- a/docs/esp8266/quickref.rst +++ b/docs/esp8266/quickref.rst @@ -188,7 +188,7 @@ class:: spi.init(baudrate=200000) # set the baudrate spi.read(10) # read 10 bytes on MISO - spi.read(10, 0xff) # read 10 bytes while outputing 0xff on MOSI + spi.read(10, 0xff) # read 10 bytes while outputting 0xff on MOSI buf = bytearray(50) # create a buffer spi.readinto(buf) # read into the given buffer (reads 50 bytes in this case) |