docs/pyboard: Fix to use Sphinx style for internal/external links.

pull/1/head
Damien George 2018-09-20 17:12:36 +10:00
parent 40a7e8c472
commit ad4fb62f13
3 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

@ -1,3 +1,5 @@
.. _pyboard_tutorial_switch:
The Switch, callbacks and interrupts
====================================

View File

@ -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())