diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-31 00:58:23 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-31 00:58:23 +0000 |
commit | 47f349e7dea25fd7b2dd9d387654418aeb7de0bd (patch) | |
tree | cd7ab7ec1b311d56d817252bd29844fec135345b /docs/tutorial | |
parent | c92ef361c791eadff068b311a7d226471b07d9b6 (diff) | |
download | micropython-47f349e7dea25fd7b2dd9d387654418aeb7de0bd.tar.gz micropython-47f349e7dea25fd7b2dd9d387654418aeb7de0bd.zip |
docs: Fix links to images and other parts of the docs.
Diffstat (limited to 'docs/tutorial')
-rw-r--r-- | docs/tutorial/fading_led.rst | 4 | ||||
-rw-r--r-- | docs/tutorial/img/fading_leds_breadboard_fritzing.png (renamed from docs/tutorial/imgs/fading_leds_breadboard_fritzing.png) | bin | 61821 -> 61821 bytes | |||
-rw-r--r-- | docs/tutorial/index.rst | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/docs/tutorial/fading_led.rst b/docs/tutorial/fading_led.rst index d5fe87f0dd..5c92cc33a5 100644 --- a/docs/tutorial/fading_led.rst +++ b/docs/tutorial/fading_led.rst @@ -20,11 +20,11 @@ Connecting Things Up For this tutorial, we will use the ``X1`` pin. Connect one end of the resistor to ``X1``, and the other end to the **anode** of the LED, which is the longer leg. Connect the **cathode** of the LED to ground. -.. image:: https://raw.githubusercontent.com/freespace/micropython/master/docs/tutorial/imgs/fading_leds_breadboard_fritzing.png +.. image:: img/fading_leds_breadboard_fritzing.png Code ==== -By examining the `quick reference <http://docs.micropython.org/en/latest/quickref.html>`_, we see that ``X1`` is connected to channel 1 of timer 5 (``TIM5 CH1``). Therefore we will first create a ``Timer`` object for timer 5, then create a ``TimerChannel`` object for channel 1:: +By examining the :ref:`quickref`, we see that ``X1`` is connected to channel 1 of timer 5 (``TIM5 CH1``). Therefore we will first create a ``Timer`` object for timer 5, then create a ``TimerChannel`` object for channel 1:: from pyb import Timer from timer import sleep diff --git a/docs/tutorial/imgs/fading_leds_breadboard_fritzing.png b/docs/tutorial/img/fading_leds_breadboard_fritzing.png Binary files differindex a8eec4eb62..a8eec4eb62 100644 --- a/docs/tutorial/imgs/fading_leds_breadboard_fritzing.png +++ b/docs/tutorial/img/fading_leds_breadboard_fritzing.png diff --git a/docs/tutorial/index.rst b/docs/tutorial/index.rst index fceac15c68..5d48b611f7 100644 --- a/docs/tutorial/index.rst +++ b/docs/tutorial/index.rst @@ -31,5 +31,6 @@ Tutorials requiring extra components :numbered: servo.rst + fading_led.rst lcd_skin.rst amp_skin.rst |