Cristian Maglie
291f5493ec
Added license for Arduino.h, binary.h and main.cpp (master branch)
...
See #1847 and #1117
2014-02-13 17:48:47 +01:00
Kristian Sloth Lauszus
ed42d95412
Added support for all variants of Sanguino
2013-04-04 20:55:15 +02:00
David A. Mellis
6d296e0fab
Adding ATmega644P check to ATmega1284P check.
2012-10-09 13:53:09 -04:00
David A. Mellis
1a0f22225b
Moving ATmega32U4 Timer 2 #undef's to Leonardo pins_arduino.h file.
2012-09-13 09:19:52 -04:00
Shigeru KANEMOTO
4293079076
Fix for tone() on Leonardo.
2012-08-08 18:27:40 +09:00
David A. Mellis
6c00397e22
Adding INPUT_PULLUP option pinMode(). (Paul Stoffregen).
...
This also changes pinMode(pin, INPUT); to explicitly disable the pull-up resistor, even if it was previously set.
http://code.google.com/p/arduino/issues/detail?id=246
2012-01-02 14:20:28 -05:00
David A. Mellis
3ece2827a4
Simplifying microseconds <-> clock cycles conversions. (Rob Tillaart)
...
This should fix problems with overflows in pulseIn(). It may make millis() slightly less precise for clock speeds that aren't multiple of 1 million, but we don't really support those anyway.
http://code.google.com/p/arduino/issues/detail?id=675
2011-12-30 18:05:12 -05:00
David A. Mellis
a9d1368e4c
Updated reference voltage defines for ATmega1284P.
...
http://code.google.com/p/arduino/issues/detail?id=728
2011-12-02 17:18:15 -05:00
David A. Mellis
8d48010edf
Moving ARDUINO_MAIN from main.cpp to wiring_digital.c and hiding PA, PB, etc.
...
http://code.google.com/p/arduino/issues/detail?id=677
http://code.google.com/p/arduino/issues/detail?id=691
2011-10-24 16:50:15 -04:00
David A. Mellis
85f10a7150
Correcting analogReference() constants for ATtiny24/44/84 and 25/45/85.
...
DEFAULT, EXTERNAL, and INTERNAL have different values on those processors.
2011-10-24 15:44:01 -04:00
Zach Eveland
5bbe2a63e4
added support for TIMER4D used for PWM on Leonardo and Micro D6
2011-09-16 16:36:42 -04:00
David A. Mellis
a19a23ff92
Factoring pin definitions out of the core.
...
That is, there's now a pins/ directory in a platform, which includes multiple directories, each of which has its own pins_arduino.h. The boards.txt gets a new preferences, <BOARD>.build.pins, whose values is a sub-directory of the pins/ directory (possibly with a "platform:" prefix). That sub-directory is then placed in the include path during compilation.
2011-03-04 21:05:05 -05:00
David A. Mellis
6cd58c57db
Moving all pin definitions into pins_arduino.h.
...
This is a step towards providing portability across AVR's by simply including an appropriate header file.
2011-03-03 23:54:33 -05:00
David A. Mellis
58d683239d
Removing optimized digitalWrite(), digitalRead(), pinMode().
2011-03-03 18:46:45 -05:00
David A. Mellis
d7a87f18f0
Re-arranging header files and small fixes to optimized core functions.
2011-03-02 23:05:25 -05:00
David A. Mellis
218eb5e807
Moving wiring.h contents into Arduino.h.
2011-03-01 20:00:16 -05:00
David A. Mellis
e009c5c6c6
Renamed WProgram.h to Arduino.h.
2011-03-01 19:52:13 -05:00