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

1289 Commits

Author SHA1 Message Date
David A. Mellis
7087bcf5bd Adding optiboot and Arduino Uno boards menu entry. 2010-09-22 09:04:33 -04:00
David A. Mellis
27cfd22066 1280 -> 1280/2560. 2010-09-08 22:33:33 +00:00
David A. Mellis
722b93dce4 Changing String::toCharArray() and getBytes() to accept a buffer, rather than return one. That way they don't expose the internal representation of the String class, allowing future optimization. Thanks to Paul Stoffregen. 2010-08-28 10:23:54 +00:00
David A. Mellis
f8077a96d7 Returning a reference to a dummy character for indices beyond the string length (in operator[]). 2010-08-28 09:55:26 +00:00
David A. Mellis
a48d96ee49 Adding some basic error checking to the String class (i.e. checking for a non-null buffer before modifying its contents). 2010-08-18 21:39:28 +00:00
David A. Mellis
5ede40be13 Now including stdlib.h from wiring.h so our abs() #define comes after the stdlib abs() definition (and therefore doesn't break it). 2010-08-17 21:50:41 +00:00
David A. Mellis
57e2c152f1 Adding shiftIn() from Wiring (no count or delaytime though). 2010-08-11 22:59:00 +00:00
David A. Mellis
54d367b1e0 Making Client inherit from Stream, which unforunately means taking peek() out of Stream for now, since there's no immediate implementation for Client. 2010-08-11 18:19:01 +00:00
David A. Mellis
05e8d675cd Adding Arduino BT w/ ATmega328 to the boards menu. 2010-08-07 19:56:14 +00:00
David A. Mellis
3524387e70 Adding ATmega328 version of the Arduino BT bootloader, along with a Makefile for building it. 2010-08-07 19:48:59 +00:00
David A. Mellis
e2fe4d0dfa No longer requiring WProgram.h for Print / Stream classes (replaced Arduino-specific type names in String). 2010-08-06 01:23:19 +00:00
David A. Mellis
0aec45afbc Moving SPI pin definitions into core (from SPI library): SS, MISO, MOSI, and SCK. 2010-08-02 22:33:11 +00:00
David A. Mellis
94045e292a changing available() to return an int (because the Ethernet Client class or another stream might need more than 255 bytes). 2010-08-02 22:23:48 +00:00
Tom Igoe
81e7814887 added more String examples 2010-07-27 22:59:18 +00:00
David A. Mellis
4e33e6cb9f Reverting changes to String class and modifying to allow + and += to work on more types. 2010-07-27 14:20:56 +00:00
Tom Igoe
cd4c0e56e2 removed append() from String library 2010-07-27 10:18:04 +00:00
Tom Igoe
b78768f761 checked in Xiaoyang Feng's changes to String library 2010-07-27 10:09:09 +00:00
Tom Igoe
27b3254e99 Checked in Xiaoyang's changes to String library 2010-07-27 10:06:49 +00:00
Tom Igoe
8fcb098533 Checked in Xiaoyang's changes to String library 2010-07-27 10:06:43 +00:00
David A. Mellis
52e0e1a999 INTERNAL -> INTERNAL1V1 AND INTERNAL2V56 on the Mega (issue #194). 2010-07-10 21:07:51 +00:00
David A. Mellis
4fa7eb8e32 whitespace. 2010-07-05 16:08:35 +00:00
David A. Mellis
31601ffe77 Adding a peek() function to Stream and HardwareSerial (Serial). 2010-07-04 23:31:55 +00:00
David A. Mellis
934312682e Adding support for printing Strings to the Print class. 2010-07-04 23:22:34 +00:00
David A. Mellis
880bc682a9 Modifying String from new/delete to malloc()/free(). Also #include'ing WString.h from WProgram.h. 2010-07-04 16:36:52 +00:00
David A. Mellis
99abaed344 Adding WString.h and WString.cpp straight from Wiring (r. 726). Won't actually work yet. 2010-07-04 16:27:23 +00:00
David A. Mellis
e2f5f0c9d6 Disabling interrupts while digitalWrite() and pinMode() modify registers (issue #146).
Updating revisions.
2010-06-12 20:32:58 +00:00
David A. Mellis
e2169fa0a4 Re-enabling timer 2 pwm after tone() ends.
Factored out common code to disable timers.
2010-06-12 19:47:41 +00:00
David A. Mellis
0557d46fc2 Adding a basic Stream interface and modifying HardwareSerial to inherit from it. 2010-05-28 22:41:03 +00:00
David A. Mellis
8f416eb54a More accurate delay() function from BenF. 2010-05-25 20:16:15 +00:00
David A. Mellis
3738f450c0 Adding A0=14, A1=15, etc. aliases for analog input pins and modifying analogRead() to accept them (in addition to 0, 1, 2, etc.). Removing some unused code elsewhere. 2010-05-16 04:05:40 +00:00
David A. Mellis
282d623180 Adding 5V, 16 MHz versions of the Arduino Pro and Pro Mini (ATmega328 and ATmega168) to the boards menu. 2010-05-16 02:53:51 +00:00
David A. Mellis
5d54fbf70b Removing some Processing stuff that we don't need.
Moving the Arduino Fio up in the boards menu.
2010-05-08 20:37:54 +00:00
Tom Igoe
d5b0dfd527 Added Fio to boards.txt, now that it's part of the lineup. 2010-03-28 15:45:59 +00:00
David A. Mellis
d91b4c1f38 Limiting tone generation to timer 2 only to prevent conflicts with the Servo library. 2010-01-09 17:02:27 +00:00
David A. Mellis
b4402e1e26 Adding tone() and noTone() functions, using Brett Hagman's Tone library. 2009-12-29 20:57:07 +00:00
David A. Mellis
6672d51d56 Removing (no longer maintaining) the Makefile. 2009-12-28 15:39:19 +00:00
David A. Mellis
def86681b7 Adding precision parameter for printing of floats / doubles. Restructured the print() and println() functions a bit. 2009-12-25 20:20:27 +00:00
David A. Mellis
c82a43abde Adding Serial.end(). 2009-12-23 00:00:17 +00:00
David A. Mellis
3063c34ebe Fixing bug in calling micros() from interrupts: http://code.google.com/p/arduino/issues/detail?id=55 2009-12-18 17:44:08 +00:00
David A. Mellis
ba5935e273 No longer disabling interrupts in delayMicroseconds(): http://code.google.com/p/arduino/issues/detail?id=67 2009-12-18 17:04:51 +00:00
David A. Mellis
d2a38e4b5a Improving third-party hardware support:
- moving back to multple cores per platform
- using target instead of platform
- moving per-board and per-programmer preferences out of Preferences.java and into a new Target class
- adding a new "target" preference
- support for platform:value values in board preferences for bootloader path and core
- XXX: need to support platform:value syntax for board upload.using preferences.
2009-11-21 23:23:43 +00:00
David A. Mellis
e5b5f25476 Third-party cores seems to sort of work now, but burning bootloaders is probably broken.
Need to decide on the format for the boards.txt file.
2009-11-07 18:56:45 +00:00
David A. Mellis
3075c8e4fd Moving libraries out of arduino platform / core directory and to top-level. 2009-11-07 17:54:56 +00:00
David A. Mellis
ff0336a3b6 Moving libraries into arduino/ 2009-11-07 17:07:59 +00:00
David A. Mellis
ab1eb4aaa0 Moving things around. 2009-11-07 17:05:21 +00:00
David A. Mellis
c6b305357e Adding Arduino as ISP sketch (firmware) and programmers.txt entry. 2009-11-01 17:00:31 +00:00
David A. Mellis
6a15e01ff8 Passing the ARDUINO constant from the IDE to avr-gcc as a command line argument (so I don't forget to update the version in the .h file). 2009-10-23 23:04:03 +00:00
David A. Mellis
e884bb7ca8 Updating ARDUINO to 0018 (in wiring.h). 2009-09-13 17:57:17 +00:00
David A. Mellis
f5ffd44e77 Undoing revision 628 because it broke analogRead() on analog inputs 8 to 15 of the Arduino Mega. 2009-08-23 20:59:47 +00:00
David A. Mellis
e0d0e22eda Removing obsolete wiring_serial.c from Makefile. Adding - to beginning of dependcy lines to avoid unnecessary warnings. 2009-08-16 10:21:16 +00:00
Tom Igoe
66c454f2e6 Checked and updated all LiquidCrystal examples 2009-08-05 14:41:27 +00:00
Tom Igoe
5a3da0155c Checked and updated all LiquidCrystal examples 2009-08-05 14:41:24 +00:00
Tom Igoe
96c3621047 Checked and updated all LiquidCrystal examples 2009-08-05 14:41:23 +00:00
Tom Igoe
e04a52b733 Checked and updated all LiquidCrystal examples 2009-08-05 14:41:17 +00:00
Tom Igoe
ba362ebe72 Checked and updated all LiquidCrystal examples 2009-08-05 14:41:14 +00:00
Tom Igoe
47f3f70851 Checked and updated all LiquidCrystal examples 2009-08-05 14:41:11 +00:00
Tom Igoe
cb51697237 Checked and updated all LiquidCrystal examples 2009-08-05 14:41:08 +00:00
Tom Igoe
fd51ab33b5 Checked and updated all LiquidCrystal examples 2009-08-05 14:41:03 +00:00
Tom Igoe
15eaa600fb Checked and updated all LiquidCrystal examples 2009-08-05 14:40:55 +00:00
Tom Igoe
df1b7f787c Changed begin() in LiquidCrystal examples 2009-08-02 18:45:13 +00:00
Tom Igoe
afc4948495 Changed begin() in LiquidCrystal examples 2009-08-02 18:45:08 +00:00
Tom Igoe
69e25cef45 Changed begin() in LiquidCrystal examples 2009-08-02 18:45:04 +00:00
Tom Igoe
ced413c4d3 Changed begin() in LiquidCrystal examples 2009-08-02 18:44:59 +00:00
Tom Igoe
9c872e1fbf Changed begin() in LiquidCrystal examples 2009-08-02 18:44:54 +00:00
Tom Igoe
63c09f6495 Changed begin() in LiquidCrystal examples 2009-08-02 18:44:52 +00:00
Tom Igoe
59109d6322 Changed begin() in LiquidCrystal examples 2009-08-02 18:44:30 +00:00
Tom Igoe
21cc6be265 Changed begin() in LiquidCrystal examples 2009-08-02 18:41:40 +00:00
David A. Mellis
b16871c2db Updating to rev. 27 of Firmata. 2009-07-30 20:48:59 +00:00
David A. Mellis
fc9c2815d5 Updating keywords.txt for LiquidCrystal library. 2009-07-25 18:56:46 +00:00
David A. Mellis
c536dccd92 Renaming LiquidCrystal example .pde files to correspond to new function names. 2009-07-25 18:29:53 +00:00
David A. Mellis
71085b5e18 Renaming LiquidCrystal example directories to correspond to new function names. 2009-07-25 18:28:35 +00:00
David A. Mellis
97706deda0 Updating LiquidCrystal API and examples. 2009-07-25 18:26:29 +00:00
David A. Mellis
4ee94a1800 Fixing Servo library on the ATmega8 by changing assignments to TIMSK and TIFR into bitwise-or's. Otherwise, this broke millis() by disabling the timer 0 overflow interrupt. 2009-07-21 06:05:02 +00:00
David A. Mellis
262400962f Renaming the 328 and 168 boards. 2009-07-21 05:22:22 +00:00
David A. Mellis
69740fcfb4 Updating to revision 25 of firmata (slightly post version 2.1beta2). 2009-07-21 05:18:50 +00:00
David A. Mellis
3b78ba0d8c Updating to Firmata-2.1beta1 (rev 23). 2009-07-14 21:32:55 +00:00
David A. Mellis
e5dc169cc7 Adding Nano w/ ATmega328. 2009-07-14 21:18:52 +00:00
David A. Mellis
abbf61fa2b Adding Tom's examples for the new LiquidCrystal library. 2009-07-13 02:33:02 +00:00
David A. Mellis
5b5e739645 Removing old LiquidCrystal examples. 2009-07-13 02:31:46 +00:00
David A. Mellis
3f74888018 Adding improved baud rate calculation, including use (or not) of the U2X bit. (Code from gabebear). 2009-07-12 02:58:59 +00:00
David A. Mellis
430977c853 Clearing the U2Xn bit in Serial.begin() (because it is set on the Pro / Pro Mini 328). Fixing some indentation. 2009-07-12 01:58:15 +00:00
David A. Mellis
f0c3263b2f Adding keywords.txt file for the Ethernet library. 2009-07-12 00:33:25 +00:00
David A. Mellis
55df12a8bd Integrating the new Servo library (MegaServo) by Michael Margolis. Uses timer 1, and, on the Mega, timers 3, 4, and 5 for up to 12 servos (48 on the Mega). 2009-07-12 00:33:02 +00:00
David A. Mellis
5dda367b06 Migrating to Limor Fried's improved LiquidCrystal library. 2009-07-11 00:54:26 +00:00
David A. Mellis
e9e928e03e Fixing indentation in twi.c. 2009-06-20 20:48:55 +00:00
David A. Mellis
6ba23bafe2 Fixing bug in Wire library that caused it to read and discard one extra byte when do a requestFrom() a slave device. Thanks to Christopher K. Johnson. 2009-06-20 20:43:24 +00:00
David A. Mellis
3b09a2ad1d Fixing Client::connected() and Client::status() to return reasonable values when the Client isn't associated with a valid socket: issue #34. 2009-06-15 20:11:13 +00:00
David A. Mellis
051d8f2e4f Changing analog read channel mask from 0x07 to 0x0f to allow for reading of the temperature and other extended channels. 2009-06-15 19:40:47 +00:00
David A. Mellis
2fa8deb92d First integration of the Arduino code in Processing 5503: PreProcessor and Compiler have been integrated with changes to the Sketch.
Compilation still has problems (Thread error on success, and can't handle non-pde files in a sketch).
Modified the Mac OS X make.sh to copy the hardware, avr tools, and example over.
Removing some of the antlr stuff.  
Disabling the Commander (command-line execution) for now.
Added Library, LibraryManager, and Target.
Added support for prefixed preferences (e.g. for boards and programmers).
2009-06-01 08:32:11 +00:00