|
|
Quick Start
First, set up the prerequisite hardward
and software. Then unpack the distribution and try the following
from the top level directory:
make -R -C blink writeflash
If the make command fails, be sure to read the hints just above the
failure message...
Now your arduino's LED should be blinking.
Talking to the arduino over the serial port takes only two function
calls from the term_io module:
make -R -C term_io writeflash
# Wait a few seconds for the AVR to finish rebooting...
make -R -C term_io run_screen
# Maybe hit return a few times
Latest News
- New module providing a simple interface to an HD44780 LCD
- New module providing macros which simplifify digital IO pin
initialization and control
- Support for building C++ sources. This project is still all in
C, but if anyone wants to use it from C++ it should be easier. These
features also make it a lot easier to borrow code from the Arduino
libraries :)
Abstract
This package contains:
- a Makefile setup for programming an arduino (or other
Atmel ATMega chip) using unix command line tools
- a library of simple modules to do various interesting things
with an ATMega (blink a LED, talk over a serial line, drive simple
LCD display, etc.)
In other words, its a lots like the excellent arduino project and uses the same
open hardware, but avoids the new wiring language, the C++ intermediate
layer, and the Java-based IDE. Crusy old (and young) Unix/C
programmers rejoice!
Features
- Supports programming using the arduino bootloader or in-system
programming using AVRISPmkII programmer
- Modules are designed to look as independent as possible: doing
cp --recursive --dereference some_module ~/new_project
yields a minimal stand-alone project.
- Leverages all the convenient power options (USB or external)
and communication circuitry (Serial to USB) of the arduino hardware
platform, but provides a convenient migration path to programming
for simpler hardware.
- Tries to be pedantic with info and error messages so new
arduino users can learn its tricks easily.
Bugs and Feature Requests
Please send these to the mailing list.
Good luck!
|