summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266
diff options
context:
space:
mode:
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 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)