summaryrefslogtreecommitdiffstatshomepage
path: root/docs/pyboard/tutorial
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-20 17:12:36 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-20 17:14:13 +1000
commitad4fb62f13ba8c91aacb9097243180d38f941d2a (patch)
treee3ca69887c1813f72f35e057c5d31dbb0100d91a /docs/pyboard/tutorial
parent40a7e8c472c5befec0649923167e12b91cf0a6d4 (diff)
downloadmicropython-ad4fb62f13ba8c91aacb9097243180d38f941d2a.tar.gz
micropython-ad4fb62f13ba8c91aacb9097243180d38f941d2a.zip
docs/pyboard: Fix to use Sphinx style for internal/external links.
Diffstat (limited to 'docs/pyboard/tutorial')
-rw-r--r--docs/pyboard/tutorial/servo.rst2
-rw-r--r--docs/pyboard/tutorial/switch.rst2
-rw-r--r--docs/pyboard/tutorial/timer.rst4
3 files changed, 5 insertions, 3 deletions
diff --git a/docs/pyboard/tutorial/servo.rst b/docs/pyboard/tutorial/servo.rst
index 83d1b0cc15..783d2b91ef 100644
--- a/docs/pyboard/tutorial/servo.rst
+++ b/docs/pyboard/tutorial/servo.rst
@@ -3,7 +3,7 @@ Controlling hobby servo motors
There are 4 dedicated connection points on the pyboard for connecting up
hobby servo motors (see eg
-[Wikipedia](http://en.wikipedia.org/wiki/Servo_%28radio_control%29)).
+`Wikipedia <http://en.wikipedia.org/wiki/Servo_%28radio_control%29>`__).
These motors have 3 wires: ground, power and signal. On the pyboard you
can connect them in the bottom right corner, with the signal pin on the
far right. Pins X1, X2, X3 and X4 are the 4 dedicated servo signal pins.
diff --git a/docs/pyboard/tutorial/switch.rst b/docs/pyboard/tutorial/switch.rst
index 91683fba45..e2a5eae884 100644
--- a/docs/pyboard/tutorial/switch.rst
+++ b/docs/pyboard/tutorial/switch.rst
@@ -1,3 +1,5 @@
+.. _pyboard_tutorial_switch:
+
The Switch, callbacks and interrupts
====================================
diff --git a/docs/pyboard/tutorial/timer.rst b/docs/pyboard/tutorial/timer.rst
index aedaaa13c5..1cca18d837 100644
--- a/docs/pyboard/tutorial/timer.rst
+++ b/docs/pyboard/tutorial/timer.rst
@@ -50,8 +50,8 @@ Timer callbacks
---------------
The next thing we can do is register a callback function for the timer to
-execute when it triggers (see the [switch tutorial](tut-switch) for an
-introduction to callback functions)::
+execute when it triggers (see the :ref:`switch tutorial <pyboard_tutorial_switch>`
+for an introduction to callback functions)::
>>> tim.callback(lambda t:pyb.LED(1).toggle())