aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
AgeCommit message (Collapse)Author
2011-03-01Renamed WProgram.h to Arduino.h.David A. Mellis
2011-02-26Removing BYTE keyword (use Serial.write() instead).David A. Mellis
2011-02-25Small optimization in HardwareSerial.David A. Mellis
begin(long) -> begin(unsigned long)
2011-02-18Revert "Changes to optimized digitalWrte(), etc."David A. Mellis
This reverts commit aa1f1cbda9d6bb52785f98b40746920853d6579b.
2011-02-18Revert "Adding noAnalogWrite() function to disable PWM."David A. Mellis
This reverts commit 38d4a34fec6925b29a732d13e200f54ee4b42025.
2011-02-12Adding noAnalogWrite() function to disable PWM.David A. Mellis
Also, removing the inline version of digitalPinToTimer() (since we're not optimizing the functions that use it anyway). The noAnalogWrite() function is in wiring_analog.c, deriving from the previous turnOffPWM() which has moved from wiring_digital.c. http://code.google.com/p/arduino/issues/detail?id=476
2011-02-11Changes to optimized digitalWrte(), etc.David A. Mellis
Factoring out the implementation of digitalWrite(), digitalRead(), and pinMode() into macros that can either be inlined (for constant pin numbers) or executed within a function (non-constant pins). Removing testing for timers on pins in digitalWrite(), digitalRead(), and pinMode(). Moving pin to port macros from pins_arduino.h to wiring.h.
2011-02-11Optimized digitalWrite(), etc. from Alvaro Lopez.David A. Mellis
2010-12-11Changing String append to use realloc(); thanks to Paul Stoffregen.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=332
2010-12-03Replacing custom String.toInt() function with a call to atol().David A. Mellis
2010-11-29Redoing 448222e4b65e0cf44dfc0c494f7f76901f1fabea without all the extra files.David A. Mellis
Adds toInt() to String, WCharacter.h (from Wiring), and an SD Datalogger example.
2010-11-29Revert "added toInt() function to WString".David A. Mellis
This reverts commit 448222e4b65e0cf44dfc0c494f7f76901f1fabea.
2010-11-29added toInt() function to WStringTom Igoe
2010-11-22pulseIn() now times out while measuring the pulse, not just while waiting ↵David A. Mellis
for it to start.
2010-11-20SD File object implements Stream.David A. Mellis
Added peak() and available() using a single byte buffer. Added flush().
2010-11-11Fixing bug w/ subsequent calls to tone().David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=397
2010-11-11Cast to encourage optimization of Serial ring buffer index calculations.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=391
2010-11-11Changing baud rate calculation to always use double speed mode except for ↵David A. Mellis
57600 baud at 16 MHz. http://code.google.com/p/arduino/issues/detail?id=394
2010-11-08Modifying Tone.cpp to use register-based (not CPU-based) #ifdefs.David A. Mellis
2010-10-17Modifying basic functions (digital and analog, read and write) to use ↵David A. Mellis
register-based ifdefs, not cpu-based. http://code.google.com/p/arduino/issues/detail?id=307 http://code.google.com/p/arduino/issues/detail?id=316 http://code.google.com/p/arduino/issues/detail?id=323 http://code.google.com/p/arduino/issues/detail?id=324
2010-10-17Making attachInterrupt() check registers, not CPUs.David A. Mellis
Patch by Mark Sproul, via Christian Maglie. http://code.google.com/p/arduino/issues/detail?id=340
2010-10-17Making HardwareSerial tests register-based, not CPU-based.David A. Mellis
Mark Sproul's patches, via Christian Maglie. http://code.google.com/p/arduino/issues/detail?id=315
2010-10-09Changing #include <> to #include "" in Tone.cpp.David A. Mellis
2010-10-02Fixing PWM on pins 9 & 10 on the Uno.David A. Mellis
Resetting TCCR1B to 0 after it's configured by optiboot. http://code.google.com/p/arduino/issues/detail?id=364
2010-09-081280 -> 1280/2560.David A. Mellis
2010-08-28Changing String::toCharArray() and getBytes() to accept a buffer, rather ↵David A. Mellis
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-28Returning a reference to a dummy character for indices beyond the string ↵David A. Mellis
length (in operator[]).
2010-08-18Adding some basic error checking to the String class (i.e. checking for a ↵David A. Mellis
non-null buffer before modifying its contents).
2010-08-17Now including stdlib.h from wiring.h so our abs() #define comes after the ↵David A. Mellis
stdlib abs() definition (and therefore doesn't break it).
2010-08-11Adding shiftIn() from Wiring (no count or delaytime though).David A. Mellis
2010-08-11Making Client inherit from Stream, which unforunately means taking peek() ↵David A. Mellis
out of Stream for now, since there's no immediate implementation for Client.
2010-08-06No longer requiring WProgram.h for Print / Stream classes (replaced ↵David A. Mellis
Arduino-specific type names in String).
2010-08-02Moving SPI pin definitions into core (from SPI library): SS, MISO, MOSI, and ↵David A. Mellis
SCK.
2010-08-02changing available() to return an int (because the Ethernet Client class or ↵David A. Mellis
another stream might need more than 255 bytes).
2010-07-27added more String examplesTom Igoe
2010-07-27Reverting changes to String class and modifying to allow + and += to work on ↵David A. Mellis
more types.
2010-07-27removed append() from String libraryTom Igoe
2010-07-27checked in Xiaoyang Feng's changes to String libraryTom Igoe
2010-07-27Checked in Xiaoyang's changes to String libraryTom Igoe
2010-07-27Checked in Xiaoyang's changes to String libraryTom Igoe
2010-07-10INTERNAL -> INTERNAL1V1 AND INTERNAL2V56 on the Mega (issue #194).David A. Mellis
2010-07-05whitespace.David A. Mellis
2010-07-04Adding a peek() function to Stream and HardwareSerial (Serial).David A. Mellis
2010-07-04Adding support for printing Strings to the Print class.David A. Mellis
2010-07-04Modifying String from new/delete to malloc()/free(). Also #include'ing ↵David A. Mellis
WString.h from WProgram.h.
2010-07-04Adding WString.h and WString.cpp straight from Wiring (r. 726). Won't ↵David A. Mellis
actually work yet.
2010-06-12Disabling interrupts while digitalWrite() and pinMode() modify registers ↵David A. Mellis
(issue #146). Updating revisions.
2010-06-12Re-enabling timer 2 pwm after tone() ends. David A. Mellis
Factored out common code to disable timers.
2010-05-28Adding a basic Stream interface and modifying HardwareSerial to inherit from it.David A. Mellis
2010-05-25More accurate delay() function from BenF.David A. Mellis