forked from platformio/platformio-core
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			619 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			619 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
Arduino Example: Build \*.ino file with external Adafruit library
 | 
						|
=================================================================
 | 
						|
 | 
						|
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/arduino-adafruit-library/
 | 
						|
 | 
						|
    # Install Atmel AVR development platform with Arduino Framework
 | 
						|
    $ platformio install atmelavr
 | 
						|
 | 
						|
    # Process example project
 | 
						|
    $ platformio run
 | 
						|
 | 
						|
    # Upload firmware
 | 
						|
    $ platformio run -t upload
 | 
						|
 |