forked from platformio/platformio-core
Added README to example with console result image
This commit is contained in:
26
examples/wiring-blink/README.rst
Normal file
26
examples/wiring-blink/README.rst
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
Wiring Framework (Arduino + Energia) Blink Example
|
||||||
|
==================================================
|
||||||
|
|
||||||
|
1. Download ``platformio``
|
||||||
|
`sources <https://github.com/ivankravets/platformio/archive/develop.zip>`_
|
||||||
|
2. Extract ZIP archive
|
||||||
|
3. Then run these commands:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
# Change directory to example
|
||||||
|
$ cd platformio-develop/examples/wiring-blink/
|
||||||
|
|
||||||
|
# Install Atmel AVR development platform with Arduino Framework
|
||||||
|
$ platformio install atmelavr --with-package=framework-arduinoavr
|
||||||
|
|
||||||
|
# Install TI MSP430 development platform with Energia Framework
|
||||||
|
$ platformio install timsp430 --with-package=framework-energiamsp430
|
||||||
|
|
||||||
|
# Install TI TIVA development platform with Energia Framework
|
||||||
|
$ platformio install titiva --with-package=framework-energiativa
|
||||||
|
|
||||||
|
# Process example project
|
||||||
|
$ platformio run
|
||||||
|
|
||||||
|
.. image:: console-result.png
|
BIN
examples/wiring-blink/console-result.png
Normal file
BIN
examples/wiring-blink/console-result.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 MiB |
@@ -1,3 +1,6 @@
|
|||||||
|
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
||||||
|
# See LICENSE for details.
|
||||||
|
|
||||||
[env:arduino_pro5v]
|
[env:arduino_pro5v]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
Reference in New Issue
Block a user