File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ Tab-completion is useful to find out what methods an object has.
23
23
Paste mode (ctrl-E) is useful to paste a large slab of Python code into
24
24
the REPL.
25
25
26
- The `` machine ` ` module::
26
+ The :mod: ` machine ` module::
27
27
28
28
import machine
29
29
30
30
machine.freq() # get the current frequency of the CPU
31
31
machine.freq(160000000) # set the CPU frequency to 160 MHz
32
32
33
- The `` esp ` ` module::
33
+ The :mod: ` esp ` module::
34
34
35
35
import esp
36
36
@@ -40,7 +40,7 @@ The ``esp`` module::
40
40
Networking
41
41
----------
42
42
43
- The `` network ` ` module::
43
+ The :mod: ` network ` module::
44
44
45
45
import network
46
46
@@ -69,13 +69,13 @@ A useful function for connecting to your local WiFi network is::
69
69
pass
70
70
print('network config:', wlan.ifconfig())
71
71
72
- Once the network is established the `` socket ` ` module can be used
72
+ Once the network is established the :mod: ` socket <usocket> ` module can be used
73
73
to create and use TCP/UDP sockets as usual.
74
74
75
75
Delay and timing
76
76
----------------
77
77
78
- Use the `` time ` ` module::
78
+ Use the :mod: ` time <utime> ` module::
79
79
80
80
import time
81
81
You can’t perform that action at this time.
0 commit comments