Commit Graph

667 Commits

Author SHA1 Message Date
David A. Mellis 80fc987a94 Fixing LiquidCrystal library example comments (d0, d1, d2, d3 => d4, d5, d6, d7). 2008-11-01 22:07:48 +00:00
David A. Mellis de4710abc8 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 e42b8d7ef8 Moving makeWord() function defintion into WMath.cpp (out of WProgram.h). 2008-10-26 12:31:45 +00:00
David A. Mellis da84adb1e9 Adding word datatype and cast/construction macros, bitRead(), bitWrite(), bitSet(), bitClear(), bit(). 2008-10-25 12:52:07 +00:00
David A. Mellis 5444b25e11 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 b7ec38e61a * 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 3898f82e7d 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 434d786347 updated TODOs and created a TODO file for general project todos 2008-10-05 23:39:49 +00:00
David A. Mellis 28db292f43 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 03a51e5ab7 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 e94fa49d9b 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 bf4484d02c 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 ad860f84d3 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 7b658714de 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 8af8938d41 Removing wiring core since it's not being kept up-to-date. 2008-09-10 15:22:59 +00:00
David A. Mellis 50009e64e5 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 57c941f4a9 Renaming ethernet library examples. 2008-09-08 20:05:31 +00:00
David A. Mellis f9354a2b9e Commented LCD examples. 2008-09-07 12:21:07 +00:00
David A. Mellis b7cd4c1724 Updated reference to include new libraries. 2008-09-07 11:54:26 +00:00
David A. Mellis 080d18c6d2 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 2ed2ee36e7 Moving Servo min and max parameters to the attach() function from the constructor. 2008-08-21 23:48:38 +00:00
David A. Mellis 1994278a7a Updating Makefile to derive target name from the current folder. 2008-08-17 20:10:47 +00:00
David A. Mellis 3460189d09 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 eac2983285 Adding ethernet library. 2008-07-30 14:47:36 +00:00
David A. Mellis f1a7670808 Changing pin outs on LiquidCrystal examples and adding parentheses to Servo code. 2008-07-13 19:26:59 +00:00
David A. Mellis 1342c837d4 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 6bc00d87b8 Adding ADXL3xx accelerometer example; minor comment changes. 2008-07-02 19:06:27 +00:00
David A. Mellis 79904311bb Wire library patch to provide better error handling. 2008-06-21 23:16:27 +00:00
David A. Mellis 75d1f5053c Fixing random() to work with longs. 2008-05-26 14:02:32 +00:00
David A. Mellis 03d7c9b846 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 5fa29a57be Adding a couple of Servo examples from Wiring (slightly modified). 2008-05-07 22:15:55 +00:00
David A. Mellis d98fdd989f Adding Servo library (ServoTimer1 from the playground) by Jim Studt. 2008-05-07 19:53:52 +00:00
David A. Mellis 4b2b39e383 Changing Print class to use regular virtual write() function (instead of my hack
ed together version).
2008-05-07 18:24:49 +00:00
David A. Mellis 2d5bc015fb Adding LiquidCrystal library. 2008-04-19 03:31:36 +00:00
David A. Mellis e8465fbb45 Fixing millis() overflow: changing millis() and the timer 0 overflow handler so that the millis count is updated in the interrupt, and so we don't need to do a conversion inside millis(). Updated to do list. 2008-04-18 21:56:14 +00:00
David A. Mellis 5412a33feb Adding the Print class. 2008-04-18 18:46:52 +00:00
David A. Mellis 75f170a0f4 Factored out print() and println() from HardwareSerial to a base class for sharing with other things (e.g. LiquidCrystal library), eliminating #include's of avr/signal.h (deprecated). Upping version number and modifying to do list. 2008-04-18 18:39:02 +00:00
David A. Mellis 28b81996d3 Moving Standard_Firmata out of the distribution because Hans may be making some non-backwards compatible changes. 2008-03-28 21:37:02 +00:00
Hans-Christoph Steiner 7fb83befd4 renamed to more descriptive name 2008-03-26 17:12:43 +00:00
Hans-Christoph Steiner 5ac0066c85 renamed to more descriptive name 2008-03-26 17:12:12 +00:00
Hans-Christoph Steiner ecf8c4d288 added newline at the end of file to get rid of compiler and SVN warnings 2008-03-24 17:28:17 +00:00
David A. Mellis 8d93bbebbd Adding to the todo list and readme; fixing a bit of indentation. 2008-03-08 22:05:23 +00:00
David A. Mellis c7cac2f165 Added timeout (in microseconds) parameter to pulseIn(). Defaults to 1000000 (1 second). 2008-03-08 21:30:00 +00:00
David A. Mellis f3893aba50 Incorporating a modified version of oli.keller's Makefile (prepends #include <WProgram.h> and appends main() among other things). 2008-03-05 02:50:11 +00:00
David A. Mellis 7920e4e8aa Disabling flushing of the serial port for the BT (bluetooth) board. It seems to fix uploading to it under Mac OS X 10.5 (Leopard). 2008-03-05 00:48:08 +00:00
David A. Mellis 1e2fec8d1a Cleaning up Mac build, adding Serial.println(unsigned int), adding #include <Sprite.h> to hello_matrix example. 2008-02-23 21:52:53 +00:00
David A. Mellis 4efeb2f647 Improving the preprocessor and parallel programmer. 2008-02-20 02:27:23 +00:00
David A. Mellis ed8d8ec50d Upping the baud rate to 115200. 2008-02-16 19:31:38 +00:00
David A. Mellis d9fe4c8059 Adding a stable version of Firmata - this is the same as the one in the Arduino library for Processing on the playground (57600 baud). 2008-01-22 23:59:10 +00:00
David A. Mellis 3401a00512 God I hate subversion. 2008-01-22 23:52:02 +00:00