mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
docs/wipy: Add wipy tutorials section.
This commit is contained in:
@@ -67,6 +67,8 @@ to one, otherwise FileZilla will try to open a second command connection when re
|
||||
and saving files, and for simplicity and to reduce code size, only one command and one
|
||||
data connections are possible. Other FTP clients might behave in a similar way.
|
||||
|
||||
.. _wipy_firmware_upgrade:
|
||||
|
||||
Upgrading the firmware Over The Air
|
||||
-----------------------------------
|
||||
|
||||
@@ -79,6 +81,10 @@ verify its integrity. Now, reset the MCU by pressing the switch on the board, or
|
||||
import machine
|
||||
machine.reset()
|
||||
|
||||
Software updates can be found in: https://github.com/wipy/wipy/releases
|
||||
It's always recommended to update to the latest software, but make sure to
|
||||
read the ``release notes`` before.
|
||||
|
||||
Boot modes
|
||||
----------
|
||||
|
||||
|
||||
30
docs/wipy/tutorial/index.rst
Normal file
30
docs/wipy/tutorial/index.rst
Normal file
@@ -0,0 +1,30 @@
|
||||
.. _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')
|
||||
|
||||
Reference in New Issue
Block a user