summaryrefslogtreecommitdiffstatshomepage
path: root/docs/pyboard/tutorial
diff options
context:
space:
mode:
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())