@@ -12,6 +12,7 @@ The Adafruit Feather HUZZAH board (image attribution: Adafruit).
1212General board control
1313---------------------
1414
15+ The MicroPython REPL is on UART0 (GPIO1=TX, GPIO3=RX) at baudrate 115200.
1516Tab-completion is useful to find out what methods an object has.
1617Paste mode (ctrl-E) is useful to paste a large slab of Python code into
1718the REPL.
@@ -53,14 +54,14 @@ A useful function for connecting to your local WiFi network is::
5354
5455 def do_connect():
5556 import network
56- wlan = network.WLAN(wlan .STA_IF)
57+ wlan = network.WLAN(network .STA_IF)
5758 wlan.active(True)
5859 if not wlan.isconnected():
5960 print('connecting to network...')
60- wlan.connect('essid', 'password')
61- while not wlan.isconnected():
62- pass
63- print('network config:', wlan.ifconfig())
61+ wlan.connect('essid', 'password')
62+ while not wlan.isconnected():
63+ pass
64+ print('network config:', wlan.ifconfig())
6465
6566Once the network is established the ``socket `` module can be used
6667to create and use TCP/UDP sockets as usual.
@@ -189,6 +190,8 @@ The I2C driver is implemented in software and works on all pins::
189190
190191 i2c.writeto(0x3a, buf, stop=False) # don't send a stop bit after writing
191192
193+ Note that reading is not yet implemented.
194+
192195OneWire driver
193196--------------
194197
0 commit comments