docs/wipy/tutorial: Link Blynk examples to the official library.

pull/5221/head
Volodymyr Shymanskyy 2019-02-15 20:16:41 +02:00 zatwierdzone przez Damien George
rodzic a2c4cb484d
commit 615d6b3c66
1 zmienionych plików z 8 dodań i 10 usunięć

Wyświetl plik

@ -1,19 +1,17 @@
Getting started with Blynk and the WiPy Getting started with Blynk and the WiPy
--------------------------------------- ---------------------------------------
Blynk is a platform with iOS and Android apps to control Blynk provides iOS and Android apps to control any hardware over the Internet
Arduino, Raspberry Pi and the likes over the Internet. or directly using Bluetooth. You can easily build graphic interfaces for all
You can easily build graphic interfaces for all your your projects by simply dragging and dropping widgets, right on your smartphone.
projects by simply dragging and dropping widgets.
There are several examples available that work out-of-the-box with Before anything else, make sure that your WiPy is running
the WiPy. Before anything else, make sure that your WiPy is running
the latest software, check :ref:`OTA How-To <wipy_firmware_upgrade>` for instructions. the latest software, check :ref:`OTA How-To <wipy_firmware_upgrade>` for instructions.
1. Get the `Blynk library <https://github.com/wipy/wipy/blob/master/lib/blynk/BlynkLib.py>`_ and put it in ``/flash/lib/`` via FTP. 1. Get the `Blynk library <https://github.com/vshymanskyy/blynk-library-python/blob/master/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 2. Get the `Blynk example for WiPy <https://github.com/vshymanskyy/blynk-library-python/blob/master/examples/hardware/PyCom_WiPy.py>`_, edit the network settings, and afterwards
upload them to ``/flash/lib/`` via FTP as well. upload it to ``/flash/`` via FTP as well.
3. Follow the instructions on each example to setup the Blynk dashboard on your smartphone or tablet. 3. Follow the instructions on each example to setup the Blynk dashboard on your smartphone or tablet.
4. Give it a try, for instance:: 4. Give it a try, for instance::
>>> execfile('01_simple.py') >>> execfile('sync_virtual.py')