Commit Graph

471 Commits

Author SHA1 Message Date
David A. Mellis 65b1e9225c Switching to new signal (interrupt handler) names for compatibility with the ATmega328. 2008-11-08 21:31:55 +00:00
David A. Mellis e79b319fd1 Waiting for pulse to start (rising or falling edge) to start timing. 2008-11-08 21:31:12 +00:00
David A. Mellis 542a64fac1 Updating Ping example (to print distance rather than blink an LED). 2008-11-03 20:18:37 +00:00
David A. Mellis f03a7d1f0e Fixing LiquidCrystal library example comments (d0, d1, d2, d3 => d4, d5, d6, d7). 2008-11-01 22:07:48 +00:00
David A. Mellis dd1fdf61e4 Switching tests for __AVR_ATmega168__ to tests for __AVR_ATmega8__ so that less changes are needed to support other processors. 2008-11-01 22:06:13 +00:00
David A. Mellis f856428cb1 Adding a calibration example and moving knock into the sensors folder. 2008-11-01 18:03:07 +00:00
David A. Mellis 3b8db8909b Stripping unused functions and data from compiled sketches (.hex files) using -ffunctions-sections, -fdata-sections, and -Wl,--gc-sections. 2008-10-26 14:02:15 +00:00
David A. Mellis c00bd47bef Adding examples for Ping ultrasound distance sensor and Memsic 2125 accelerometer from Parallax. 2008-10-26 12:37:47 +00:00
David A. Mellis 97fd64e3f0 Moving makeWord() function defintion into WMath.cpp (out of WProgram.h). 2008-10-26 12:31:45 +00:00
David A. Mellis 5800ace0b5 Adding word datatype and cast/construction macros, bitRead(), bitWrite(), bitSet(), bitClear(), bit(). 2008-10-25 12:52:07 +00:00
David A. Mellis bc153833da Generating .eep files again without warnings if EEMEM isn't used. 2008-10-14 09:44:17 +00:00
David A. Mellis 70a5e05482 Updating readme and todo for previous changes. 2008-10-13 15:15:24 +00:00
David A. Mellis 2ba54d2cbf Little fixes:
- changing random(max) to use stdlib.h random()
 - not generating .eep files to avoid warning when EEMEM isn't used
 - removing cast macros (since they are automatically defined in C++)
 - writing a digital LOW for PWM value of 0 on pins 5 or 6
2008-10-13 15:03:20 +00:00
David A. Mellis 30dc672dff * Updating version number to 0013.
* Updating ATmega168 bootloader to work with standard distributions of avrdude
  (responding to signature requests made with the universal SPI command) and
  correctly store EEPROM data.  Thanks to ladyada.
* Changing compilation process to generate .eep file and allow for use of
  EEMEM directive (although not yet uploading EEPROM data).
2008-10-11 19:27:10 +00:00
David A. Mellis 5c857a5005 Reindenting the ATmega168 bootloader file. It was a mess (and still is somewhat of one). 2008-10-11 15:20:39 +00:00
Hans-Christoph Steiner 01ad4cc476 updated TODOs and created a TODO file for general project todos 2008-10-05 23:39:49 +00:00
David A. Mellis 30245a7030 arduino.exe was recompiled 2008-09-18 10:44:38 +00:00
David A. Mellis 009a45a534 Upgrading windows avr-gcc, etc. (but not avrdude) 2008-09-18 10:10:30 +00:00
David A. Mellis d94980db56 Updating todo and readme. 2008-09-18 09:36:46 +00:00
David A. Mellis bd47d9872f Removing WConstants.h include from Stepper.h so it compiles with new WProgram.h include placement. Updated readme. 2008-09-17 14:15:11 +00:00
Hans-Christoph Steiner d44ee3a000 removed deprecated timer0_overflow_count, which wasn't meant to be public
anyway.  Replaced it with the official millis() method of getting the time.
2008-09-16 17:18:41 +00:00
David A. Mellis 362b952a68 Adding #ifdef guard to WProgram.h to prevent multiple #includes.
Removing Print class inheritance from Firmata since it's not clear that it can be implemented in a way that's compatible with the Firmata protocol and the Print class interface.
2008-09-15 21:09:13 +00:00
Hans-Christoph Steiner 236fcbb122 switched up analogRead() loop to use the revamped millis() function rather than the private timer0_overflow_count variable 2008-09-12 16:53:57 +00:00
Hans-Christoph Steiner dea4079d94 Firmata.h now needs to have WProgram.h, since in the sketches WProgram.h has moved from the first include to the last 2008-09-12 16:53:03 +00:00
Hans-Christoph Steiner 8d8b3a3647 copying Firmata-0.4beta2 release into trunk, then I'll adjust it to Arduino-0012 2008-09-12 16:35:07 +00:00
David A. Mellis 34465d0ac9 Removing wiring core since it's not being kept up-to-date. 2008-09-10 15:22:59 +00:00
David A. Mellis 876767ff5f Renaming Ethernet examples part 2 (apparently SVN doesn't allow renaming of a file at the same time as its containing directory). 2008-09-08 20:06:32 +00:00
David A. Mellis db17d3d5f6 Renaming ethernet library examples. 2008-09-08 20:05:31 +00:00
David A. Mellis ab9e945cb3 Commented LCD examples. 2008-09-07 12:21:07 +00:00
David A. Mellis f2ab9c6ec9 Updated reference to include new libraries. 2008-09-07 11:54:26 +00:00
David A. Mellis 0f3400fbae Incorporating ladyada's watchdog timer changes into the bootloader source, but only compiling them in for the Pro and Pro Mini (since Nathan includes them in the bootloader he burns to the board). Added a WATCHDOG_MODS flag to the Makefile to specify that they should be included. Recompiled the pro .hex file to include them. 2008-09-06 22:17:58 +00:00
David A. Mellis c8aff1e34f Doc changes. 2008-08-23 17:24:08 +00:00
David A. Mellis 44d4a4ff8a Moving Servo min and max parameters to the attach() function from the constructor. 2008-08-21 23:48:38 +00:00
David A. Mellis 191bb02f00 Updating Makefile to derive target name from the current folder. 2008-08-17 20:10:47 +00:00
David A. Mellis 7630c3a887 Adding Nano and Pro (8 MHz) to boards.txt file; updating Makefile for atmega168 bootloader based on Nathan's changes to allow for customizing of more parameters per-board; including Pro 8 MHz .hex compiled bootloader file; not updating the Diecimila or NG .hex files. 2008-08-16 01:56:41 +00:00
David A. Mellis 92797b603e Adding ethernet library. 2008-07-30 14:47:36 +00:00
David A. Mellis c85f5ba754 Updating todo. 2008-07-28 17:02:31 +00:00
David A. Mellis b45d4b5e01 Allowing per-board specification of upload.using. If not given for a board, falls back on the global preference. 2008-07-14 02:09:43 +00:00
David A. Mellis d349f4bd7c Updating todo and readme. 2008-07-13 19:27:26 +00:00
David A. Mellis 3c26693683 Changing pin outs on LiquidCrystal examples and adding parentheses to Servo code. 2008-07-13 19:26:59 +00:00
David A. Mellis 590a8251ab Upgrading to AVR MacPack 20080514, hacked to replace /usr/local/AVRMacPack-20080514 with `dirname $0`/.. for everything in bin/. avr-gcc 4 selected. 2008-07-12 16:59:48 +00:00
David A. Mellis 2ead3627da Moving actual stepping to the end of the step() function so that the first step isn't in the wrong direction. 2008-07-08 02:34:38 +00:00
David A. Mellis be66f329b3 Minor changes. 2008-07-02 19:23:20 +00:00
David A. Mellis 278872728a Adding ADXL3xx accelerometer example; minor comment changes. 2008-07-02 19:06:27 +00:00
David A. Mellis 0bdc02cea5 Wire library patch to provide better error handling. 2008-06-21 23:16:27 +00:00
David A. Mellis 3233d7939b Fixing random() to work with longs. 2008-05-26 14:02:32 +00:00
David A. Mellis 114a19c9a2 Modified Matrix to work with MAX7221: changing latching from rising edge to falling edge. 2008-05-10 05:02:09 +00:00
David A. Mellis 8588045f7f Adding a couple of Servo examples from Wiring (slightly modified). 2008-05-07 22:15:55 +00:00
David A. Mellis 8f1f736e36 Adding Servo library (ServoTimer1 from the playground) by Jim Studt. 2008-05-07 19:53:52 +00:00
David A. Mellis 6a7f8fdf53 Starting to refactor the Compiler so that I can reuse some of this code for building the libraries. 2008-05-07 19:06:04 +00:00