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/esp32 | |
parent | 5a8f392f09e3826ff2a1f4330700198e9c0d42cc (diff) | |
download | micropython-a2c4cb484d6018a65dabd921c509fc12b71a088b.tar.gz micropython-a2c4cb484d6018a65dabd921c509fc12b71a088b.zip |
docs: Fix spelling in various parts of the docs.
Diffstat (limited to 'docs/esp32')
-rw-r--r-- | docs/esp32/quickref.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index dd85b102b2..20e728d1c7 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -77,7 +77,7 @@ The :mod:`network` module:: wlan.scan() # scan for access points wlan.isconnected() # check if the station is connected to an AP wlan.connect('essid', 'password') # connect to an AP - wlan.config('mac') # get the interface's MAC adddress + wlan.config('mac') # get the interface's MAC address wlan.ifconfig() # get the interface's IP/netmask/gw/DNS addresses ap = network.WLAN(network.AP_IF) # create access-point interface @@ -203,7 +203,7 @@ Use the :ref:`machine.ADC <machine.ADC>` class:: adc = ADC(Pin(32)) # create ADC object on ADC pin adc.read() # read value, 0-4095 across voltage range 0.0v - 1.0v - adc.atten(ADC.ATTN_11DB) # set 11dB input attentuation (voltage range roughly 0.0v - 3.6v) + adc.atten(ADC.ATTN_11DB) # set 11dB input attenuation (voltage range roughly 0.0v - 3.6v) adc.width(ADC.WIDTH_9BIT) # set 9 bit return values (returned range 0-511) adc.read() # read value using the newly configured attenuation and width @@ -257,7 +257,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) |