diff options
author | Damien George <damien.p.george@gmail.com> | 2014-11-03 22:14:23 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-11-03 22:14:23 +0000 |
commit | 1e3fde0a10f5d5df6a63e7dd05d7c612b5d2d7e8 (patch) | |
tree | efd74ad0e159c790d6db39e25f935cb7d9202053 /docs | |
parent | 72165c01f0e1e0db3abf67e1a8d88352d9f5524b (diff) | |
download | micropython-1e3fde0a10f5d5df6a63e7dd05d7c612b5d2d7e8.tar.gz micropython-1e3fde0a10f5d5df6a63e7dd05d7c612b5d2d7e8.zip |
docs: Add skin imgs; change external links to micropython.org/resources.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hardware/index.rst | 17 | ||||
-rw-r--r-- | docs/quickref.rst | 4 | ||||
-rw-r--r-- | docs/topindex.html | 2 | ||||
-rw-r--r-- | docs/tutorial/amp_skin.rst | 10 | ||||
-rw-r--r-- | docs/tutorial/img/skin_amp_1.jpg | bin | 0 -> 83408 bytes | |||
-rw-r--r-- | docs/tutorial/img/skin_amp_2.jpg | bin | 0 -> 75075 bytes | |||
-rw-r--r-- | docs/tutorial/img/skin_lcd_1.jpg | bin | 0 -> 99320 bytes | |||
-rw-r--r-- | docs/tutorial/img/skin_lcd_2.jpg | bin | 0 -> 69460 bytes | |||
-rw-r--r-- | docs/tutorial/lcd_skin.rst | 8 | ||||
-rw-r--r-- | docs/tutorial/script.rst | 8 |
10 files changed, 28 insertions, 21 deletions
diff --git a/docs/hardware/index.rst b/docs/hardware/index.rst index c934e226c0..60489db8d4 100644 --- a/docs/hardware/index.rst +++ b/docs/hardware/index.rst @@ -1,13 +1,20 @@ The pyboard hardware ==================== -* `PYBv1.0 schematics and layout <http://micropython.org/static/doc/PYBv10b.pdf>`_ (2.4MiB PDF) -* `PYBv1.0 metric dimensions <http://micropython.org/static/doc/PYBv10b-metric-dimensions.pdf>`_ (360KiB PDF) -* `PYBv1.0 imperial dimensions <http://micropython.org/static/doc/PYBv10b-imperial-dimensions.pdf>`_ (360KiB PDF) +* `PYBv1.0 schematics and layout <http://micropython.org/resources/PYBv10b.pdf>`_ (2.4MiB PDF) +* `PYBv1.0 metric dimensions <http://micropython.org/resources/PYBv10b-metric-dimensions.pdf>`_ (360KiB PDF) +* `PYBv1.0 imperial dimensions <http://micropython.org/resources/PYBv10b-imperial-dimensions.pdf>`_ (360KiB PDF) Datasheets for the components on the pyboard ============================================ * The microcontroller: `STM32F405RGT6 <http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1577/LN1035/PF252144>`_ (link to manufacturer's site) -* The accelerometer: `Freescale MMA7660 <http://micropython.org/static/doc/MMA7660FC.pdf>`_ (800kiB PDF) -* The LDO voltage regulator: `Microchip MCP1802 <http://micropython.org/static/doc/MCP1802-22053C.pdf>`_ (400kiB PDF) +* The accelerometer: `Freescale MMA7660 <http://micropython.org/resources/datasheets/MMA7660FC.pdf>`_ (800kiB PDF) +* The LDO voltage regulator: `Microchip MCP1802 <http://micropython.org/resources/datasheets/MCP1802-22053C.pdf>`_ (400kiB PDF) + +Datasheets for other components +=============================== + +* The LCD display on the LCD touch-sensor skin: `Newhaven Display NHD-C12832A1Z-FSW-FBW-3V3 <http://micropython.org/resources/datasheets/NHD-C12832A1Z-FSW-FBW-3V3.pdf>`_ (460KiB PDF) +* The touch sensor chip on the LCD touch-sensor skin: `Freescale MPR121 <http://micropython.org/resources/datasheets/MPR121.pdf>`_ +* The digital potentiometer on the audio skin: `Microchip MCP4541 <http://micropython.org/resources/datasheets/MCP4541-22107B.pdf>`_ diff --git a/docs/quickref.rst b/docs/quickref.rst index f025312435..1aaddadc00 100644 --- a/docs/quickref.rst +++ b/docs/quickref.rst @@ -3,8 +3,8 @@ Quick reference for the pyboard =============================== -.. image:: http://micropython.org/static/resources/pybv10-pinout.jpg - :alt: AMP skin +.. image:: http://micropython.org/resources/pybv10-pinout.jpg + :alt: PYBv1.0 pinout :width: 700px General board control diff --git a/docs/topindex.html b/docs/topindex.html index 1ffffa586d..f0588c46a2 100644 --- a/docs/topindex.html +++ b/docs/topindex.html @@ -27,7 +27,7 @@ <span class="linkdescr">schematics, dimensions and component datasheets</span> </p> <p class="biglink"> - <a class="biglink" href="http://micropython.org/static/doc/Micro-Python-Windows-setup.pdf">Guide for pyboard on Windows (PDF)</a><br/> + <a class="biglink" href="http://micropython.org/resources/Micro-Python-Windows-setup.pdf">Guide for pyboard on Windows (PDF)</a><br/> <span class="linkdescr">including DFU programming</span> </p> <p class="biglink"> diff --git a/docs/tutorial/amp_skin.rst b/docs/tutorial/amp_skin.rst index fbf0bde2d3..dd949e180f 100644 --- a/docs/tutorial/amp_skin.rst +++ b/docs/tutorial/amp_skin.rst @@ -3,11 +3,11 @@ The AMP audio skin Soldering and using the AMP audio skin. -.. image:: http://micropython.org/static/doc/skin-amp-1.jpg +.. image:: img/skin_amp_1.jpg :alt: AMP skin :width: 250px -.. image:: http://micropython.org/static/doc/skin-amp-3.jpg +.. image:: img/skin_amp_2.jpg :alt: AMP skin :width: 250px @@ -51,11 +51,11 @@ For example:: dac.write_timed(buf, 400 * len(buf), mode=DAC.CIRCULAR) You can also play WAV files using the Python ``wave`` module. You can get -the wave module `here <http://micropython.org/static/doc/examples/wave.py>`_ and you will also need -the chunk module available `here <http://micropython.org/static/doc/examples/chunk.py>`_. Put these +the wave module `here <http://micropython.org/resources/examples/wave.py>`_ and you will also need +the chunk module available `here <http://micropython.org/resources/examples/chunk.py>`_. Put these on your pyboard (either on the flash or the SD card in the top-level directory). You will need an 8-bit WAV file to play, such as -`this one <http://micropython.org/static/doc/examples/test.wav>`_. Then you can do:: +`this one <http://micropython.org/resources/examples/test.wav>`_. Then you can do:: >>> import wave >>> from pyb import DAC diff --git a/docs/tutorial/img/skin_amp_1.jpg b/docs/tutorial/img/skin_amp_1.jpg Binary files differnew file mode 100644 index 0000000000..df44460080 --- /dev/null +++ b/docs/tutorial/img/skin_amp_1.jpg diff --git a/docs/tutorial/img/skin_amp_2.jpg b/docs/tutorial/img/skin_amp_2.jpg Binary files differnew file mode 100644 index 0000000000..7631b3b633 --- /dev/null +++ b/docs/tutorial/img/skin_amp_2.jpg diff --git a/docs/tutorial/img/skin_lcd_1.jpg b/docs/tutorial/img/skin_lcd_1.jpg Binary files differnew file mode 100644 index 0000000000..1dda73ffd5 --- /dev/null +++ b/docs/tutorial/img/skin_lcd_1.jpg diff --git a/docs/tutorial/img/skin_lcd_2.jpg b/docs/tutorial/img/skin_lcd_2.jpg Binary files differnew file mode 100644 index 0000000000..6e3e1033ef --- /dev/null +++ b/docs/tutorial/img/skin_lcd_2.jpg diff --git a/docs/tutorial/lcd_skin.rst b/docs/tutorial/lcd_skin.rst index 288b63162a..8f981de635 100644 --- a/docs/tutorial/lcd_skin.rst +++ b/docs/tutorial/lcd_skin.rst @@ -3,11 +3,11 @@ The LCD and touch-sensor skin Soldering and using the LCD and touch-sensor skin. -.. image:: http://micropython.org/static/doc/skin-lcd-3.jpg +.. image:: img/skin_lcd_1.jpg :alt: pyboard with LCD skin :width: 250px -.. image:: http://micropython.org/static/doc/skin-lcd-1.jpg +.. image:: img/skin_lcd_2.jpg :alt: pyboard with LCD skin :width: 250px @@ -58,7 +58,7 @@ enables the 4 touch sensors. The third line reads the touch status and the ``touch`` variable holds the state of the 4 touch buttons (A, B, X, Y). -There is a simple driver `here <http://micropython.org/static/doc/examples/mpr121.py>`_ +There is a simple driver `here <http://micropython.org/resources/examples/mpr121.py>`_ which allows you to set the threshold and debounce parameters, and easily read the touch status and electrode voltage levels. Copy this script to your pyboard (either flash or SD card, in the top @@ -81,4 +81,4 @@ initialise the I2C bus using:: >>> m = mpr121.MPR121(pyb.I2C(2, pyb.I2C.MASTER)) There is also a demo which uses the LCD and the touch sensors together, -and can be found `here <http://micropython.org/static/doc/examples/lcddemo.py>`_. +and can be found `here <http://micropython.org/resources/examples/lcddemo.py>`_. diff --git a/docs/tutorial/script.rst b/docs/tutorial/script.rst index d1b12ae6d1..011484722c 100644 --- a/docs/tutorial/script.rst +++ b/docs/tutorial/script.rst @@ -46,16 +46,16 @@ a window (or command line) should be showing the files on the pyboard drive. The drive you are looking at is known as ``/flash`` by the pyboard, and should contain the following 4 files: -* `boot.py <http://micropython.org/static/doc/fresh-pyboard/boot.py>`_ -- this script is executed when the pyboard boots up. It sets +* `boot.py <http://micropython.org/resources/fresh-pyboard/boot.py>`_ -- this script is executed when the pyboard boots up. It sets up various configuration options for the pyboard. -* `main.py <http://micropython.org/static/doc/fresh-pyboard/main.py>`_ -- this is the main script that will contain your Python program. +* `main.py <http://micropython.org/resources/fresh-pyboard/main.py>`_ -- this is the main script that will contain your Python program. It is executed after ``boot.py``. -* `README.txt <http://micropython.org/static/doc/fresh-pyboard/README.txt>`_ -- this contains some very basic information about getting +* `README.txt <http://micropython.org/resources/fresh-pyboard/README.txt>`_ -- this contains some very basic information about getting started with the pyboard. -* `pybcdc.inf <http://micropython.org/static/doc/fresh-pyboard/pybcdc.inf>`_ -- this is a Windows driver file to configure the serial USB +* `pybcdc.inf <http://micropython.org/resources/fresh-pyboard/pybcdc.inf>`_ -- this is a Windows driver file to configure the serial USB device. More about this in the next tutorial. Editing ``main.py`` |