summaryrefslogtreecommitdiffstatshomepage
path: root/docs/pyboard/tutorial
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-07-10 12:45:52 +1000
committerDamien George <damien.p.george@gmail.com>2018-07-10 12:45:52 +1000
commit2cff340357e04cea81153b34fd442839184e8c98 (patch)
tree5692cc08d3f70d3a0960343033dcac0632bdae9d /docs/pyboard/tutorial
parentfcf621b066142cc221e5357f54e8156b1cb8c7fd (diff)
downloadmicropython-2cff340357e04cea81153b34fd442839184e8c98.tar.gz
micropython-2cff340357e04cea81153b34fd442839184e8c98.zip
docs/pyboard: For latex build, use smaller quickref jpg, and no gifs.
The latexpdf target needs images that fit on the page, and does not support gifs.
Diffstat (limited to 'docs/pyboard/tutorial')
-rw-r--r--docs/pyboard/tutorial/fading_led.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/pyboard/tutorial/fading_led.rst b/docs/pyboard/tutorial/fading_led.rst
index 0a4b5c5039..9f3f7c3ad4 100644
--- a/docs/pyboard/tutorial/fading_led.rst
+++ b/docs/pyboard/tutorial/fading_led.rst
@@ -3,7 +3,9 @@ Fading LEDs
In addition to turning LEDs on and off, it is also possible to control the brightness of an LED using `Pulse-Width Modulation (PWM) <http://en.wikipedia.org/wiki/Pulse-width_modulation>`_, a common technique for obtaining variable output from a digital pin. This allows us to fade an LED:
-.. image:: http://upload.wikimedia.org/wikipedia/commons/a/a9/Fade.gif
+.. only:: not latex
+
+ .. image:: http://upload.wikimedia.org/wikipedia/commons/a/a9/Fade.gif
Components
----------