Commit Graph

18 Commits

Author SHA1 Message Date
David A. Mellis 88d8326615 Splitting wiring.c into multiple files to get even smaller sketch sizes. 2007-02-03 16:52:51 +00:00
David A. Mellis 41d50ae572 Now appending main() to the user's sketch in preparation for making the Arduino core a library (.a) file. 2007-01-12 17:58:39 +00:00
David A. Mellis 2bc42669e8 Adding Serial.flush() command. 2006-12-25 18:00:30 +00:00
David A. Mellis 514a74849a attachInterrupt() and detachInterrupt(): from Wiring, with changes to automatically enable and disable the relevant interrupt and to specify the trigger. 2006-11-24 17:12:32 +00:00
David A. Mellis bd17cfbdc0 Added shiftOut() routine and fixed new serial functions to work with the ATmega168. 2006-11-23 19:13:21 +00:00
David A. Mellis e3a0eeb6df Changed HardwareSerial to call the C serial functions in wiring.h and wiring.c to save space. 2006-11-23 11:39:23 +00:00
David A. Mellis 6bcf40ea9a Adding binary.h for digital constants like B1010. 2006-11-20 17:47:04 +00:00
David A. Mellis 2f97a4b146 Got timer and pwm functions working with the ATmega168 (including pwm on pin 3); no longer relying on timer.c or timer.h from avrlib. 2006-08-26 09:56:40 +00:00
David A. Mellis 4ba8ffb6ee Optimized size of core, fixed some warnings in libraries. 2006-07-09 12:39:27 +00:00
David A. Mellis d43594f1dc wiring.h include avr/io.h and WProgram.h include stdlib.h and string.h 2006-04-14 11:53:56 +00:00
David A. Mellis 4f80fe1489 Added pulseIn function to measure pulse durations. 2006-03-24 14:09:54 +00:00
David A. Mellis 1c2b95f759 Fixed abs(), min(), max(), constrain() macros (were incorrectly parenthesized). 2006-03-20 22:43:25 +00:00
David A. Mellis c8711cd2fd printInteger() & co now take longs instead of ints. 2006-02-24 15:52:19 +00:00
David A. Mellis 7e0183cf41 Added C++/extern C wrappers, missing function prototypes. 2006-02-12 16:00:47 +00:00
David A. Mellis 55dc23e859 Fixed beginSerial() to take baud rates above 19200; adjusted Serial Monitor Baud Rate menu items accordingly. 2006-01-16 09:55:09 +00:00
David A. Mellis bbec45d3df Improved accuracy of delayMicroseconds(). 2005-12-03 17:03:26 +00:00
David A. Mellis 11aca24b1f Renamed delayMicro() to delayMicroseconds() 2005-09-27 14:39:03 +00:00
David A. Mellis 7fbb37cbe0 Reworked build system: makefiles replaced with in-program logic; core replaced with targets; preproc/ replaced with Wiring's; now prepend "#include "WProgram.h" instead of wiringlite.inc; new entries in preferences.txt; bundled Wiring libs. 2005-09-25 14:11:32 +00:00