Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Compile and upload Arduino sketches from command line

Project Description

arduino-sketch lets you compile and upload Arduino Sketches without the IDE. Just use your favorite editor to write the Arduino .ino files and call arduino-sketch my.ino -u.

Usage

arduino-sketch my.ino will compile the my.ino file. It remembers the name of your sketch, so you can just call arduino-sketch the next time.

See arduino-sketch –help for more info.

Configuration

arduino-sketch uses local configuration (.arduino_sketch) and a user configuration (~/.arduino_sketch). Some configuration options are:

arduino_dir:
Path to the Arduino core directory. Should contain the hardware and tools directory.
avr_tools_path:
Path to avr-xxx binaries.
arduino_port:
The Arduino serial device. Defaults to /dev/ttyUSB*, but this will only work if you have a single USB serial device attached.
board_tag:
The name/type of the Arduino. See –list-boards and –board options.

Install

arduino-sketch is [registered at the Python Package Index (PyPi)](http://pypi.python.org/pypi/arduino-sketch), so you can install it with pip or easy_install.

You will still need the core components of Arduino 1.0 or higher. Note that arduino-core on Debian 6.0 is <1.0. [See here on how to install a package from Debian testing.]( http://serverfault.com/questions/22414/how-can-i-run-debian-stable-but-install-some-packages-from-testing)

For example on Debian:

sudo aptitude install arduino-core python-pip libyaml-perl sudo pip install arduino-sketch

To uninstall:

sudo pip uninstall arduino-sketch

License

arduino-sketch is licensed under the MIT license. It ships with Arduino.mk and ard-parse-boards which are licensed under LGPL 2.1.

Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
arduino-sketch-0.2.tar.gz (11.6 kB) Copy SHA256 Checksum SHA256 Source Mar 2, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting