Git Product home page Git Product logo

arduinoctemplate's Introduction

ARDUINO SKELETON PROJECT

Skeleton for an Arduino project (Based on deweerdt's skeleton project).

Overview

This project contains sources from the Arduino IDE v1.6.

How to

  1. Fetch the official Arduino IDE from arduino.cc: http://arduino.cc/en/main/software Untar the file to somewhere suitable (e.g. /home/user/arduino_ide)

  2. Install the following packages

    avr-libc avrdude binutils-avr gcc-avr

    This won't be needed if you want to re-use the binaries shipped with the IDE, in that case you may have to set your PATH environment variable accordingly.

  3. Checkout this repository: git clone git://github.com/deweerdt/arduino-uno-project.git

  4. Edit the Makefile file to suit your environment There are two variables that you will need to edit:

    • ARDUINO_HOME: the path where you untarred the IDE in step
    1. (e.g. /home/user/arduino_ide)
    • SERIAL: the path where your arduino listens on. If you don't know which one, try plugging and unplugging the board, and check how the files in /dev/ differ
  5. Edit the main.c file to suit your needs

  6. make and then make push

Notes

  • This has only been tested with the Arduino Uno board, and won't probably work as-is with other boards.
  • The Makefile supports three commands:
    • all: build and link the main binary
    • upload: upload the binary to the board
    • clean: remove the intermediary files

arduinoctemplate's People

Contributors

mparuzel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.