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.
This commit is contained in:
Damien George 2018-07-10 12:45:52 +10:00
parent fcf621b066
commit 2cff340357
2 changed files with 13 additions and 4 deletions

View File

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

View File

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