1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-10 21:24:12 +01:00
Commit Graph

96 Commits

Author SHA1 Message Date
David A. Mellis
2357f22387 Adding support for ordering the Tools > Boards menu by using LinkedHashMap to store the keys for the prefixed sub-maps. Re-ordering the boards in the boards.txt file. Adding an entry for the LilyPad Arduino w/ ATmega328. Updating readme. 2009-05-30 08:56:03 +00:00
David A. Mellis
b91e250d96 Removing wiring_serial.c as it's no longer used. (All serial functionality is now in HardwareSerial.h / HardwareSerial.cpp.) 2009-05-24 15:13:08 +00:00
David A. Mellis
af0ff93dc1 Adding ARDUINO version constant. 2009-05-24 15:12:19 +00:00
David A. Mellis
7357e38cf6 Fixing overflow bug in bit() macro: (1 << (b)) becomes (1UL << (b)) 2009-05-19 18:16:08 +00:00
David A. Mellis
a2b3da7698 Optimizing the timer0 overflow handler (for millis()), based on work by WestFW and help from mikalhart. Increasing precision of math constants. 2009-05-12 10:55:26 +00:00
David A. Mellis
60ad594d7b Modifying Makefile to generate dependencies (and .d files) automatically. Patch from Lars Immisch: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1241007184 2009-05-09 18:09:02 +00:00
David A. Mellis
ea6a645dc8 Fixing bugs in Client::connect() (failed to set _sock to 255 after some connection failures). 2009-05-08 13:11:04 +00:00
David A. Mellis
b572172438 Updating default board to the Arduino Duemilanove w/ ATmega328. Adding a Tools > Boards entry for Arduino Pro or Pro Mini (8 MHz) w/ ATmega328. Cleaning up todo list. 2009-05-08 11:22:34 +00:00
David A. Mellis
091540e930 Adding ATmega328 bootloader for the Pro and Pro Mini running at 8 MHz (3.3V). Uses the USART0 double speed mode, which according to Nathan from Sparkfun, is necessary to achieve reliable communication at 57600 baud. 2009-05-08 11:05:41 +00:00
David A. Mellis
5e89129ba5 Fixes to the way the Client class connects and disconnects, as well as checks of whether or not the socket is valid in various functions. 2009-04-26 14:58:39 +00:00
David A. Mellis
9dd3491ab3 Adding write(str) and write(buf, size) methods to Print class and Ethernet library Client and Server classes. This allows sending a whole string or buffer at once, reducing the number of ethernet packets. 2009-04-26 13:10:34 +00:00
David A. Mellis
1b17232798 Adding support for the Arduino Mega (ATmega1280) to the core and bootloader. 2009-03-25 10:50:00 +00:00
David A. Mellis
7c105e940a Renaming atmega168 bootloader directory to atmega since it's no longer atmega168 specific. Updating boards.txt accordingly. 2009-03-24 10:41:46 +00:00
David A. Mellis
7e18c29245 Adding Print.cpp to Makefile. 2009-03-16 20:08:45 +00:00
David A. Mellis
d2da6bd0fe Clarifying ATmega328 vs. ATmega168 in boards.txt (Boards menu). Modified todo and readme. 2009-03-07 10:06:53 +00:00
David A. Mellis
62505d8136 Fixing Ethernet client connect code to properly chance source port each time. 2009-02-14 10:27:36 +00:00
David A. Mellis
ca8f40cc85 uncommenting Arduino w/ ATmega328 board w/ 57600 bootloader 2009-01-25 17:07:07 +00:00
David A. Mellis
854c69dfde fixing / improving printFloat() from Mikal Hart 2009-01-25 15:44:17 +00:00
David A. Mellis
a4b52f20b5 Originating each outgoing network connection from a different source port (in the Client class of the Ethernet library).
Updating readme and todo.
2009-01-07 21:16:45 +00:00
David A. Mellis
19c191e002 Adding "Duemilanove" to the name of the Diecimila boards entry.
Adding commented out ATmega328 boards entry.
Updating todo and readme.
2008-12-23 00:21:03 +00:00
David A. Mellis
9fc613ad6f Fixing delay() to delay at least N milliseconds.
Fixing register name in micros() for ATmega8.
2008-12-23 00:17:14 +00:00
David A. Mellis
30e40e40ef Fixing bug that made the Ethernet library interfere with pins 8 and 9.
Adding a delay(1) to the WebServer example to work with browsers.
Removing duplicate Print files from Ethernet library.
2008-12-14 16:55:23 +00:00
David A. Mellis
40cbd63fc4 Setting atmega328 bootloader baud rate to 57600 (for now) and adding isp targets to makefile (e.g. diecimila_isp, atmega328_isp). 2008-11-26 14:34:24 +00:00
David A. Mellis
2661608ba4 Adding support for printing floats and doubles (defaulting to 2 decimal places) 2008-11-26 14:15:24 +00:00
David A. Mellis
950789ab74 Adding micros() function. 2008-11-26 14:14:59 +00:00
David A. Mellis
1d5a9b52b9 Adding ATmega328 support. 2008-11-09 21:02:20 +00:00
David A. Mellis
b2b32eb4f3 Updating libraries for atmega328 (adding it to a couple of #if's, etc.). 2008-11-08 21:57:48 +00:00
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
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
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
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
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
44d4a4ff8a Moving Servo min and max parameters to the attach() function from the constructor. 2008-08-21 23:48:38 +00:00