Added README to example with console result image

This commit is contained in:
Ivan Kravets
2014-06-12 20:55:46 +03:00
parent 6dd3fa6991
commit 359c36bfc8
3 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
Atmel AVR: Native 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/atmelavr-native-blink/
# Install Atmel AVR development platform
$ platformio install atmelavr
# Process example project
$ platformio run
.. image:: console-result.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

View File

@@ -1,10 +1,13 @@
# Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
[env:arduino_pro5v] [env:arduino_pro5v]
platform = atmelavr platform = atmelavr
board_mcu = atmega168 board_mcu = atmega168
board_f_cpu = 16000000L board_f_cpu = 16000000L
upload_port = /dev/tty.SLAB_USBtoUART upload_port = /dev/tty.SLAB_USBtoUART
; upload_port = COM3 # upload_port = COM3
upload_protocol = arduino upload_protocol = arduino
upload_speed = 19200 upload_speed = 19200