micropython/docs/wipy/tutorial/index.rst
2015-10-19 21:17:15 +02:00

31 lines
1.2 KiB
ReStructuredText

.. _wipy_tutorial_index:
WiPy tutorials and examples
===========================
Performing firmware upgrades
----------------------------
For detalied instructions see :ref:`OTA How-To <wipy_firmware_upgrade>`.
Getting started with Blynk and the WiPy
---------------------------------------
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
There are several examples available that work out-of-the-box with
the WiPy. Before anything else, make sure that your WiPy is running
the latest software, check :ref:`OTA How-To <wipy_firmware_upgrade>`.
1. Get the `Blynk library <https://github.com/wipy/wipy/blob/master/lib/blynk/BlynkLib.py>`_ and put it in ``/flash/lib/`` via FTP.
2. Get the `Blynk examples <https://github.com/wipy/wipy/tree/master/examples/blynk>`_ edit the network settings, and afterwards
upload them to ``/flash/lib/`` via FTP as well.
3. Follow the instructions on each example to setup the Blynk dashboard on your smartphone.
4. Give it a try, for instance::
>>> execfile('01_simple.py')