summaryrefslogtreecommitdiff
path: root/docs/esp8266
diff options
context:
space:
mode:
authorMike Causer <mcauser@gmail.com>2019-02-13 12:29:01 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-16 14:08:28 +1100
commita2c4cb484d6018a65dabd921c509fc12b71a088b (patch)
treef83725e5b9ff8390ff8a5ebc8c64926acb08db0a /docs/esp8266
parent5a8f392f09e3826ff2a1f4330700198e9c0d42cc (diff)
docs: Fix spelling in various parts of the docs.
Diffstat (limited to 'docs/esp8266')
-rw-r--r--docs/esp8266/general.rst2
-rw-r--r--docs/esp8266/quickref.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/esp8266/general.rst b/docs/esp8266/general.rst
index 020e21df6..fbe8fe1c3 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 a50e3dd6b..a19766504 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)