Skip to content

Commit daa5ba5

Browse files
committed
docs/esp8266/quickref: Add links from quickref page to machine classes.
1 parent d4675e7 commit daa5ba5

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

docs/esp8266/quickref.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Use the :mod:`time <utime>` module::
8888
Timers
8989
------
9090

91-
Virtual (RTOS-based) timers are supported. Use the ``machine.Timer`` class
91+
Virtual (RTOS-based) timers are supported. Use the :ref:`machine.Timer <machine.Timer>` class
9292
with timer ID of -1::
9393

9494
from machine import Timer
@@ -102,7 +102,7 @@ The period is in milliseconds.
102102
Pins and GPIO
103103
-------------
104104

105-
Use the ``machine.Pin`` class::
105+
Use the :ref:`machine.Pin <machine.Pin>` class::
106106

107107
from machine import Pin
108108

@@ -155,7 +155,7 @@ ADC (analog to digital conversion)
155155
ADC is available on a dedicated pin.
156156
Note that input voltages on the ADC pin must be between 0v and 1.0v.
157157

158-
Use the ``machine.ADC`` class::
158+
Use the :ref:`machine.ADC <machine.ADC>` class::
159159

160160
from machine import ADC
161161

@@ -166,7 +166,8 @@ Software SPI bus
166166
----------------
167167

168168
There are two SPI drivers. One is implemented in software (bit-banging)
169-
and works on all pins::
169+
and works on all pins, and is accessed via the :ref:`machine.SPI <machine.SPI>`
170+
class::
170171

171172
from machine import Pin, SPI
172173

@@ -208,7 +209,8 @@ constructor and init (as those are fixed)::
208209
I2C bus
209210
-------
210211

211-
The I2C driver is implemented in software and works on all pins::
212+
The I2C driver is implemented in software and works on all pins,
213+
and is accessed via the :ref:`machine.I2C <machine.I2C>` class::
212214

213215
from machine import Pin, I2C
214216

0 commit comments

Comments
 (0)