Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
76dcaddc
Commit
76dcaddc
authored
8 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
docs/esp8266/quickref: Add internal links to docs for some modules.
parent
efc904c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/esp8266/quickref.rst
+5
-5
5 additions, 5 deletions
docs/esp8266/quickref.rst
with
5 additions
and
5 deletions
docs/esp8266/quickref.rst
+
5
−
5
View file @
76dcaddc
...
@@ -23,14 +23,14 @@ Tab-completion is useful to find out what methods an object has.
...
@@ -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
Paste mode (ctrl-E) is useful to paste a large slab of Python code into
the REPL.
the REPL.
The
`
`machine`
`
module::
The
:mod:
`machine` module::
import machine
import machine
machine.freq() # get the current frequency of the CPU
machine.freq() # get the current frequency of the CPU
machine.freq(160000000) # set the CPU frequency to 160 MHz
machine.freq(160000000) # set the CPU frequency to 160 MHz
The
`
`esp`
`
module::
The
:mod:
`esp` module::
import esp
import esp
...
@@ -40,7 +40,7 @@ The ``esp`` module::
...
@@ -40,7 +40,7 @@ The ``esp`` module::
Networking
Networking
----------
----------
The
`
`network`
`
module::
The
:mod:
`network` module::
import network
import network
...
@@ -69,13 +69,13 @@ A useful function for connecting to your local WiFi network is::
...
@@ -69,13 +69,13 @@ A useful function for connecting to your local WiFi network is::
pass
pass
print('network config:', wlan.ifconfig())
print('network config:', wlan.ifconfig())
Once the network is established the
``
socket
`
` module can be used
Once the network is established the
:mod:`socket <u
socket
>
` module can be used
to create and use TCP/UDP sockets as usual.
to create and use TCP/UDP sockets as usual.
Delay and timing
Delay and timing
----------------
----------------
Use the
``
time
`
` module::
Use the
:mod:`time <u
time
>
` module::
import time
import time
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment