2014-11-02 23:37:02 +00:00
|
|
|
{% extends "defindex.html" %}
|
2014-11-04 18:51:29 +00:00
|
|
|
{% block body %}
|
|
|
|
|
2015-06-04 23:53:26 +01:00
|
|
|
<h1>MicroPython documentation</h1>
|
2014-11-04 18:51:29 +00:00
|
|
|
|
|
|
|
<p>
|
2015-06-04 23:53:26 +01:00
|
|
|
{{ _('Welcome! This is the documentation for MicroPython') }}
|
2014-11-04 18:51:29 +00:00
|
|
|
v{{ release|e }}{% if last_updated %}, {{ _('last updated') }} {{ last_updated|e }}{% endif %}.
|
|
|
|
</p>
|
|
|
|
|
2015-05-27 12:59:59 +01:00
|
|
|
<p>
|
|
|
|
MicroPython runs on a variety of systems and each has their own specific
|
|
|
|
documentation. You are currently viewing the documentation for
|
|
|
|
<strong>{{ port_name }}</strong>.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<!--p>
|
|
|
|
Documentation for other systems are available:
|
|
|
|
{% for p in all_ports %}
|
|
|
|
<a href="{{ p[1] }}">{{ p[0] }}</a>{% if not loop.last %}, {% endif %}
|
|
|
|
{% endfor %}.
|
|
|
|
</p-->
|
|
|
|
|
2015-06-10 22:29:56 +01:00
|
|
|
<p><strong>Documentation for MicroPython and {{ port_name }}:</strong></p>
|
2014-11-02 23:37:02 +00:00
|
|
|
|
2014-11-03 20:48:43 +00:00
|
|
|
<table class="contentstable"><tr>
|
|
|
|
<td width="40%" style="padding-left:2em;">
|
2016-04-20 23:01:49 +01:00
|
|
|
{% if port in ("pyboard", "wipy", "esp8266") %}
|
2015-05-27 12:59:59 +01:00
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto(port + "/quickref") }}">Quick reference for {{ port_name }}</a><br/>
|
|
|
|
<span class="linkdescr">pinout for {{ port_name }} and snippets of useful code</span>
|
|
|
|
</p>
|
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto(port + "/general") }}">General information about {{ port_name }}</a><br/>
|
|
|
|
<span class="linkdescr">read this first for a quick overview</span>
|
|
|
|
</p>
|
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto(port + "/tutorial/index") }}">Tutorials and code examples</a><br/>
|
|
|
|
<span class="linkdescr">start here</span>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2014-11-02 23:37:02 +00:00
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto("library/index") }}">Library Reference</a><br/>
|
2016-03-25 13:12:26 +00:00
|
|
|
{% if port == "pyboard" %}
|
2015-10-17 23:29:59 +01:00
|
|
|
<span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/pyb") }}">pyb module</a></span>
|
2016-03-25 13:12:26 +00:00
|
|
|
{% else %}
|
|
|
|
<span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/machine") }}">machine module</a></span>
|
2015-10-17 23:29:59 +01:00
|
|
|
{% endif %}
|
2014-11-02 23:37:02 +00:00
|
|
|
</p>
|
2017-02-07 05:00:34 +00:00
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto("genrst/index") }}">Micropython Differences</a><br/>
|
|
|
|
<span class="linkdescr">MicroPython operations which differ from CPython</span>
|
|
|
|
</p>
|
2014-11-02 23:37:02 +00:00
|
|
|
</td>
|
2014-11-03 20:48:43 +00:00
|
|
|
<td width="40%" style="padding-left:2em;">
|
2015-06-25 00:20:57 +01:00
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto("reference/index") }}">Language Reference</a><br/>
|
|
|
|
<span class="linkdescr">information about MicroPython specific language features</span>
|
|
|
|
</p>
|
2015-05-27 12:59:59 +01:00
|
|
|
{% if port == "pyboard" %}
|
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto(port + "/hardware/index") }}">The {{ port }} hardware</a><br/>
|
|
|
|
<span class="linkdescr">schematics, dimensions and component datasheets</span>
|
|
|
|
</p>
|
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="http://micropython.org/resources/Micro-Python-Windows-setup.pdf">Guide for {{ port_name }} on Windows (PDF)</a><br/>
|
|
|
|
<span class="linkdescr">including DFU programming</span>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2014-11-02 23:37:02 +00:00
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto("license") }}">License</a><br/>
|
2015-06-04 23:53:26 +01:00
|
|
|
<span class="linkdescr">MicroPython license information</span>
|
2014-11-02 23:37:02 +00:00
|
|
|
</p>
|
|
|
|
</td>
|
|
|
|
</tr></table>
|
|
|
|
|
|
|
|
<p><strong>Indices and tables:</strong></p>
|
2014-11-03 20:48:43 +00:00
|
|
|
<table class="contentstable"><tr>
|
|
|
|
<td width="40%" style="padding-left:2em;">
|
2014-11-02 23:37:02 +00:00
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto("py-modindex") }}">Module index</a><br/>
|
|
|
|
<span class="linkdescr">quick access to all modules</span>
|
|
|
|
</p>
|
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="{{ pathto("genindex") }}">Full index</a><br/>
|
|
|
|
<span class="linkdescr">all functions, classes, constants</span>
|
|
|
|
</p>
|
2014-11-02 23:45:29 +00:00
|
|
|
</td>
|
2014-11-03 20:48:43 +00:00
|
|
|
<td width="40%" style="padding-left:2em;">
|
2014-11-02 23:37:02 +00:00
|
|
|
<p class="biglink">
|
2015-06-10 22:29:56 +01:00
|
|
|
<a class="biglink" href="{{ pathto(port + "_contents") }}">Table of contents</a><br/>
|
2014-11-02 23:37:02 +00:00
|
|
|
<span class="linkdescr">a list of all sections and subsections</span>
|
|
|
|
</p>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<p><strong>External links:</strong></p>
|
|
|
|
|
2014-11-03 20:48:43 +00:00
|
|
|
<table class="contentstable"><tr>
|
|
|
|
<td width="40%" style="padding-left:2em;">
|
2014-11-02 23:37:02 +00:00
|
|
|
<p class="biglink">
|
2015-06-04 23:53:26 +01:00
|
|
|
<a class="biglink" href="http://micropython.org">MicroPython homepage</a><br/>
|
|
|
|
<span class="linkdescr">the official MicroPython site</span>
|
2014-11-02 23:37:02 +00:00
|
|
|
</p>
|
|
|
|
<p class="biglink">
|
2015-06-04 23:53:26 +01:00
|
|
|
<a class="biglink" href="http://forum.micropython.org">MicroPython forum</a><br/>
|
|
|
|
<span class="linkdescr">community discussion for all things related to MicroPython</span>
|
2014-11-02 23:37:02 +00:00
|
|
|
</p>
|
|
|
|
</td>
|
2014-11-03 20:48:43 +00:00
|
|
|
<td width="40%" style="padding-left:2em;">
|
2014-11-02 23:37:02 +00:00
|
|
|
<p class="biglink">
|
2015-06-04 23:53:26 +01:00
|
|
|
<a class="biglink" href="https://github.com/micropython">MicroPython on GitHub</a><br/>
|
2014-11-02 23:37:02 +00:00
|
|
|
<span class="linkdescr">contribute to the source code on GitHub</span>
|
|
|
|
</p>
|
2015-06-10 22:29:56 +01:00
|
|
|
{% if port == "wipy" %}
|
|
|
|
<p class="biglink">
|
|
|
|
<a class="biglink" href="http://wipy.io">The WiPy homepage</a><br/>
|
|
|
|
<span class="linkdescr">the official WiPy site</span>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2014-11-02 23:37:02 +00:00
|
|
|
</td>
|
|
|
|
</tr></table>
|
|
|
|
|
|
|
|
{% endblock %}
|