Browse Source

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.
pull/3937/head
Damien George 6 years ago
parent
commit
2cff340357
  1. 13
      docs/pyboard/quickref.rst
  2. 4
      docs/pyboard/tutorial/fading_led.rst

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

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

Loading…
Cancel
Save