diff options
author | Damien George <damien.p.george@gmail.com> | 2018-07-10 12:45:52 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-07-10 12:45:52 +1000 |
commit | 2cff340357e04cea81153b34fd442839184e8c98 (patch) | |
tree | 5692cc08d3f70d3a0960343033dcac0632bdae9d /docs | |
parent | fcf621b066142cc221e5357f54e8156b1cb8c7fd (diff) |
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')
-rw-r--r-- | docs/pyboard/quickref.rst | 13 | ||||
-rw-r--r-- | docs/pyboard/tutorial/fading_led.rst | 4 |
2 files changed, 13 insertions, 4 deletions
diff --git a/docs/pyboard/quickref.rst b/docs/pyboard/quickref.rst index 48798aad3..87a7bba3e 100644 --- a/docs/pyboard/quickref.rst +++ b/docs/pyboard/quickref.rst @@ -9,9 +9,16 @@ other versions of the pyboard: or `PYBLITEv1.0-AC <http://micropython.org/resources/pyblitev10ac-pinout.jpg>`__ or `PYBLITEv1.0 <http://micropython.org/resources/pyblitev10-pinout.jpg>`__. -.. image:: http://micropython.org/resources/pybv10-pinout.jpg - :alt: PYBv1.0 pinout - :width: 700px +.. only:: not latex + + .. image:: http://micropython.org/resources/pybv10-pinout.jpg + :alt: PYBv1.0 pinout + :width: 700px + +.. only:: latex + + .. image:: http://micropython.org/resources/pybv10-pinout-800px.jpg + :alt: PYBv1.0 pinout General board control --------------------- diff --git a/docs/pyboard/tutorial/fading_led.rst b/docs/pyboard/tutorial/fading_led.rst index 0a4b5c503..9f3f7c3ad 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 ---------- |