2016-08-03 22:18:51 +03:00
|
|
|
.. Copyright 2014-present PlatformIO <contact@platformio.org>
|
2015-11-18 17:33:46 +02:00
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
|
2015-08-28 19:52:37 +03:00
|
|
|
.. _demo:
|
|
|
|
|
2015-12-12 23:37:43 +02:00
|
|
|
Demo & Projects
|
|
|
|
===============
|
2015-08-28 19:52:37 +03:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
2015-12-12 23:37:43 +02:00
|
|
|
Project Examples
|
2016-03-03 16:39:58 +02:00
|
|
|
----------------
|
2015-12-12 23:37:43 +02:00
|
|
|
|
2016-10-29 22:07:25 +03:00
|
|
|
Pre-configured demo projects are located in PlatformIO GitHub repository
|
|
|
|
`https://github.com/platformio/platformio-examples <https://github.com/platformio/platformio-examples>`_.
|
2015-12-12 23:37:43 +02:00
|
|
|
|
2016-03-02 22:01:21 +02:00
|
|
|
"Blink Project"
|
|
|
|
---------------
|
2015-08-28 19:52:37 +03:00
|
|
|
|
|
|
|
.. image:: _static/platformio-demo-wiring.gif
|
|
|
|
|
|
|
|
Used in demo
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
2016-04-23 20:21:04 +03:00
|
|
|
1. Source code of `Wiring Blink Example <https://github.com/platformio/platformio-examples/tree/develop/wiring-blink>`_
|
2015-08-28 19:52:37 +03:00
|
|
|
2. :ref:`cmd_run` command
|
2015-08-28 19:55:16 +03:00
|
|
|
3. :ref:`platformio run -t upload <cmd_run>` command.
|
2015-08-28 19:52:37 +03:00
|
|
|
|
|
|
|
Platform Manager
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. image:: _static/platformio-demo-platforms.gif
|
|
|
|
|
|
|
|
Used in demo
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
2016-05-26 19:43:36 +03:00
|
|
|
1. :ref:`userguide_platform`
|
|
|
|
2. :ref:`cmd_platform_list` command
|
|
|
|
3. :ref:`platformio platform search avr <cmd_platform_search>` command
|
|
|
|
4. :ref:`platformio platform show teensy <cmd_platform_show>` command
|
|
|
|
5. :ref:`cmd_platform_update` command.
|
2015-08-28 19:52:37 +03:00
|
|
|
|
|
|
|
Library Manager
|
|
|
|
---------------
|
|
|
|
|
|
|
|
.. image:: _static/platformio-demo-lib.gif
|
|
|
|
|
|
|
|
Used in demo
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
2016-09-19 21:02:12 +03:00
|
|
|
1. :ref:`cmd_lib`
|
2015-08-28 19:52:37 +03:00
|
|
|
2. :ref:`platformio lib search 1-wire <cmd_lib_search>` command
|
|
|
|
3. :ref:`platformio lib install 54 <cmd_lib_install>` command
|
|
|
|
4. :ref:`platformio lib search -f mbed <cmd_lib_search>` command
|
|
|
|
5. :ref:`platformio lib search -k rf <cmd_lib_search>` command
|
|
|
|
6. :ref:`platformio lib search radiohead <cmd_lib_search>` command
|
2015-08-28 23:53:45 +03:00
|
|
|
7. :ref:`platformio lib install 124 --version "1.40" <cmd_lib_install>` command
|
2015-08-28 19:52:37 +03:00
|
|
|
8. :ref:`platformio lib show 124 <cmd_lib_show>` command
|
|
|
|
9. :ref:`cmd_lib_update` command.
|
2015-12-22 18:21:21 +02:00
|
|
|
|
|
|
|
Over-the-Air update for ESP8266
|
|
|
|
-------------------------------
|
|
|
|
|
|
|
|
.. image:: _static/platformio-demo-ota-esp8266.jpg
|
|
|
|
:target: https://www.youtube.com/watch?v=lXchL3hpDO4
|
|
|
|
|
|
|
|
Used in demo
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
|
|
|
1. :ref:`cmd_run` command
|
|
|
|
2. :ref:`platformio run -t upload <cmd_run>` command.
|