diff options
author | Damien George <damien.p.george@gmail.com> | 2016-08-29 17:40:36 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-08-29 17:40:36 +1000 |
commit | 76dcaddc0f647bd597013980108b0b28bb6eb1c9 (patch) | |
tree | 8b84095786436077f8a1c84e2ba6231582ea5195 /docs/esp8266 | |
parent | efc904c41d4acc631ec0781a7489c382d6d0b396 (diff) | |
download | micropython-76dcaddc0f647bd597013980108b0b28bb6eb1c9.tar.gz micropython-76dcaddc0f647bd597013980108b0b28bb6eb1c9.zip |
docs/esp8266/quickref: Add internal links to docs for some modules.
Diffstat (limited to 'docs/esp8266')
-rw-r--r-- | docs/esp8266/quickref.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/esp8266/quickref.rst b/docs/esp8266/quickref.rst index f15cb72bbe..d209871361 100644 --- a/docs/esp8266/quickref.rst +++ b/docs/esp8266/quickref.rst @@ -23,14 +23,14 @@ Tab-completion is useful to find out what methods an object has. Paste mode (ctrl-E) is useful to paste a large slab of Python code into the REPL. -The ``machine`` module:: +The :mod:`machine` module:: import machine machine.freq() # get the current frequency of the CPU machine.freq(160000000) # set the CPU frequency to 160 MHz -The ``esp`` module:: +The :mod:`esp` module:: import esp @@ -40,7 +40,7 @@ The ``esp`` module:: Networking ---------- -The ``network`` module:: +The :mod:`network` module:: import network @@ -69,13 +69,13 @@ A useful function for connecting to your local WiFi network is:: pass print('network config:', wlan.ifconfig()) -Once the network is established the ``socket`` module can be used +Once the network is established the :mod:`socket <usocket>` module can be used to create and use TCP/UDP sockets as usual. Delay and timing ---------------- -Use the ``time`` module:: +Use the :mod:`time <utime>` module:: import time |