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
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
daa5ba56
Commit
daa5ba56
authored
8 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
docs/esp8266/quickref: Add links from quickref page to machine classes.
parent
d4675e76
Branches
Branches containing commit
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
+7
-5
7 additions, 5 deletions
docs/esp8266/quickref.rst
with
7 additions
and
5 deletions
docs/esp8266/quickref.rst
+
7
−
5
View file @
daa5ba56
...
@@ -88,7 +88,7 @@ Use the :mod:`time <utime>` module::
...
@@ -88,7 +88,7 @@ Use the :mod:`time <utime>` module::
Timers
Timers
------
------
Virtual (RTOS-based) timers are supported. Use the
``
machine.Timer
`
` class
Virtual (RTOS-based) timers are supported. Use the
:ref:`machine.Timer <
machine.Timer
>
` class
with timer ID of -1::
with timer ID of -1::
from machine import Timer
from machine import Timer
...
@@ -102,7 +102,7 @@ The period is in milliseconds.
...
@@ -102,7 +102,7 @@ The period is in milliseconds.
Pins and GPIO
Pins and GPIO
-------------
-------------
Use the
``
machine.Pin
`
` class::
Use the
:ref:`machine.Pin <
machine.Pin
>
` class::
from machine import Pin
from machine import Pin
...
@@ -155,7 +155,7 @@ ADC (analog to digital conversion)
...
@@ -155,7 +155,7 @@ ADC (analog to digital conversion)
ADC is available on a dedicated pin.
ADC is available on a dedicated pin.
Note that input voltages on the ADC pin must be between 0v and 1.0v.
Note that input voltages on the ADC pin must be between 0v and 1.0v.
Use the
``
machine.ADC
`
` class::
Use the
:ref:`machine.ADC <
machine.ADC
>
` class::
from machine import ADC
from machine import ADC
...
@@ -166,7 +166,8 @@ Software SPI bus
...
@@ -166,7 +166,8 @@ Software SPI bus
----------------
----------------
There are two SPI drivers. One is implemented in software (bit-banging)
There are two SPI drivers. One is implemented in software (bit-banging)
and works on all pins::
and works on all pins, and is accessed via the :ref:`machine.SPI <machine.SPI>`
class::
from machine import Pin, SPI
from machine import Pin, SPI
...
@@ -208,7 +209,8 @@ constructor and init (as those are fixed)::
...
@@ -208,7 +209,8 @@ constructor and init (as those are fixed)::
I2C bus
I2C bus
-------
-------
The I2C driver is implemented in software and works on all pins::
The I2C driver is implemented in software and works on all pins,
and is accessed via the :ref:`machine.I2C <machine.I2C>` class::
from machine import Pin, I2C
from machine import Pin, I2C
...
...
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